Skip to content

Commit 9b42702

Browse files
committed
config for base url
1 parent c9635c9 commit 9b42702

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import dotenv from 'dotenv';
66
dotenv.config({ path: '.env' }); // load env vars from .env
77
export default defineConfig({
88
// depending on your application, base can also be "/"
9-
base: '',
9+
base: process.env.REACT_APP_VITE_BASE || '',
1010
plugins: [react()],
1111
preview: {
1212
allowedHosts: ['.mitre.org', '.elb.us-east-1.amazonaws.com'],

0 commit comments

Comments
 (0)