Updated vite base path because we're using a custom domain for the github pages deployment now
This commit is contained in:
parent
6403c23949
commit
f1736b32b5
1 changed files with 1 additions and 3 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue