Skip to content

Commit e1396e5

Browse files
committed
Fix GH Pages path
1 parent dfcc15e commit e1396e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tester/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
</head>
1515
<body>
1616
<div id="root"></div>
17-
<script type="module" src="/src/main.jsx"></script>
17+
<script type="module" src="./src/main.jsx"></script>
1818
</body>
1919
</html>

tester/vite.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
},
1010
build: {
1111
target: 'es2015',
12-
outDir: './../docs/'
12+
outDir: './../docs/',
1313
},
14+
base: ''
1415
})

0 commit comments

Comments
 (0)