Skip to content

Commit 7c716c3

Browse files
committed
Fix Vite base path for GitHub Pages
1 parent 0c9f325 commit 7c716c3

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

app/vite.config.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react";
33

44
export default defineConfig({
5+
base: "/putman-visual-sim/",
56
plugins: [react()],
6-
resolve: {
7-
alias: {
8-
"@core": new URL("../core/src/index.ts", import.meta.url).pathname,
9-
},
10-
},
11-
server: {
12-
fs: {
13-
allow: [".."],
14-
},
15-
},
167
});

0 commit comments

Comments
 (0)