Updated vite base path because we're using a custom domain for the github pages deployment now
Some checks failed
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled

This commit is contained in:
Jerome 2025-07-11 09:16:19 +01:00
commit f1736b32b5
No known key found for this signature in database

View file

@ -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'),