chore: preview base path /bharti-axa/ (repo renamed)
This commit is contained in:
parent
4097f84117
commit
4fbc1dfa34
@ -3,9 +3,9 @@ import react from '@vitejs/plugin-react';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
// https://vite.dev/config/
|
||||
// Preview is served under /bharti-axa-lead-to-policy/ (path-based frontgen preview);
|
||||
// Preview is served under /bharti-axa/ (path-based frontgen preview);
|
||||
// local dev stays at / so the running dev server's URL is unaffected.
|
||||
export default defineConfig(({ command }) => ({
|
||||
plugins: [react(), tailwindcss()],
|
||||
base: command === 'build' ? '/bharti-axa-lead-to-policy/' : '/',
|
||||
base: command === 'build' ? '/bharti-axa/' : '/',
|
||||
}));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user