Skip to content

Commit 173003b

Browse files
committed
fix: 🐛 deploy to subfolder III
1 parent 03c3c9a commit 173003b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default () => {
66
const branchName = child_process.execSync('git rev-parse --abbrev-ref HEAD').toString().trimEnd();
77
console.log(branchName)
88
return {
9-
base: `${branchName === 'main' ? '/' : '/dev'}`,
9+
base: `${branchName === 'main' ? '/' : '/dev/'}`,
1010
plugins: [react()]
1111
}
1212
}

0 commit comments

Comments
 (0)