Skip to content

Commit fd5aab3

Browse files
committed
try to fix
1 parent facd6a5 commit fd5aab3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<meta http-equiv="refresh" content="0; URL=/" />
65
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
76
<meta name="viewport" content="initial-scale=1, width=device-width" />
87
<!-- Fonts to support Material Design -->

tsconfig.node.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"composite": true,
44
"module": "ESNext",
55
"moduleResolution": "Node",
6-
"allowSyntheticDefaultImports": true
6+
"allowSyntheticDefaultImports": true,
7+
"resolveJsonModule": true,
78
},
89
"include": ["vite.config.ts"]
910
}

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineConfig({
2222
},
2323
workbox: {
2424
globPatterns: ['**/*.{js,css,html}', '**/*.{svg,png,jpg,gif}'],
25-
navigateFallback: '/index.html',
25+
navigateFallback: './index.html',
2626
},
2727
}),
2828
],

0 commit comments

Comments
 (0)