We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9635c9 commit 9b42702Copy full SHA for 9b42702
1 file changed
frontend/vite.config.ts
@@ -6,7 +6,7 @@ import dotenv from 'dotenv';
6
dotenv.config({ path: '.env' }); // load env vars from .env
7
export default defineConfig({
8
// depending on your application, base can also be "/"
9
- base: '',
+ base: process.env.REACT_APP_VITE_BASE || '',
10
plugins: [react()],
11
preview: {
12
allowedHosts: ['.mitre.org', '.elb.us-east-1.amazonaws.com'],
0 commit comments