diff --git a/vite.config.ts b/vite.config.ts index babf8ce..4f035b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,9 +5,7 @@ import path from 'path' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], - // Set base to '/' for local testing, or to your repo name for GitHub Pages - // e.g., base: '/example-remote-client/' for https://username.github.io/example-remote-client/ - base: process.env.NODE_ENV === 'production' ? '/example-remote-client/' : '/', + base: '/', resolve: { alias: { '@': path.resolve(__dirname, './src'),