Skip to content

Commit b01dcb4

Browse files
committed
Changing vite base path
1 parent 89dfa01 commit b01dcb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"noFallthroughCasesInSwitch": true,
2323

2424
/* Aliasing paths */
25-
"baseUrl": "./scivision",
25+
"baseUrl": ".",
2626
"paths": {
2727
"@/*": ["src/*"]
2828
}

frontend/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { nodePolyfills } from 'vite-plugin-node-polyfills'
66
// https://vitejs.dev/config/
77
export default defineConfig({
88
plugins: [react(), nodePolyfills()],
9-
base: '/',
9+
base: '/scivision/',
1010
resolve: {
1111
alias: {
1212
'node-fetch': 'isomorphic-fetch',

0 commit comments

Comments
 (0)