Skip to content

Commit b2628f0

Browse files
committed
fix: update base path for custom domain deployment
1 parent f672e32 commit b2628f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { resolve } from 'path'
44

55
export default defineConfig({
66
plugins: [vue()],
7-
base: '/MyWebsite/', // GitHub Pages 專案路徑
7+
base: '/', // 自訂網域使用根路徑
88
resolve: {
99
alias: {
1010
'@': resolve(__dirname, 'src')

0 commit comments

Comments
 (0)