Skip to content

Commit 6374a9a

Browse files
committed
completionId: cgen-9b1c647b88bf4e0381fe635ae29c74fe
cgen-9b1c647b88bf4e0381fe635ae29c74fe
1 parent bcd6408 commit 6374a9a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

vite.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ import { createServer } from "./server";
66
// https://vitejs.dev/config/
77
export default defineConfig(({ mode }) => {
88
// For GitHub Pages deployment, set base to repo name (if deploying to /reponame/)
9-
// Leave as "/" for user/organization pages or local development
9+
// For local development, use "/"
10+
// Change "/ProxyTest/" to "/" if deploying to a user/organization GitHub Pages
1011
const isProduction = mode === "production";
11-
//const base = isProduction ? "/" : "/";
12-
const base = "/ProxyTest/";
12+
const base = isProduction ? "/ProxyTest/" : "/";
13+
1314
return {
1415
base,
1516
server: {

0 commit comments

Comments
 (0)