Skip to content

Commit f1736b3

Browse files
Updated vite base path because we're using a custom domain for the github pages deployment now
1 parent 6403c23 commit f1736b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import path from 'path'
55
// https://vitejs.dev/config/
66
export default defineConfig({
77
plugins: [react()],
8-
// Set base to '/' for local testing, or to your repo name for GitHub Pages
9-
// e.g., base: '/example-remote-client/' for https://username.github.io/example-remote-client/
10-
base: process.env.NODE_ENV === 'production' ? '/example-remote-client/' : '/',
8+
base: '/',
119
resolve: {
1210
alias: {
1311
'@': path.resolve(__dirname, './src'),

0 commit comments

Comments
 (0)