Skip to content

Commit acd4bfc

Browse files
authored
Merge pull request #24 from devguru99/dev
try to fix
2 parents d293c4a + 4ffe28a commit acd4bfc

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5+
<link rel="manifest" href="/manifest.json">
56
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
67
<meta name="viewport" content="initial-scale=1, width=device-width" />
78
<!-- Fonts to support Material Design -->

manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"short_name": "careicu",
44
"description": "Frontend React PWA for the Care Beyond ICU project",
55
"theme_color": "#ffffff",
6+
"display": "standalone",
7+
"scope": "/",
8+
"start_url": "/",
69
"icons": [
710
{
811
"src": "pwa-192x192.png",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { defineConfig } from 'vite';
44
import { VitePWA } from 'vite-plugin-pwa';
55
import manifest from './manifest.json';
66

7-
const VITE_BASE_PATH = './';
7+
const VITE_BASE_PATH = '/';
88
// https://vitejs.dev/config/
99
export default defineConfig({
1010
base: VITE_BASE_PATH, // Set the base path to your repo name

0 commit comments

Comments
 (0)