Skip to content

Commit f74b41b

Browse files
author
Parsa Azari
committed
[BUILD]: Fix Vite base path for GitHub Pages
1 parent 6901c0d commit f74b41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from "vite";
22
import { resolve } from "path";
33

44
export default defineConfig({
5-
base: process.env.NODE_ENV === 'production' ? '/3D-Portfolio/' : '/',
5+
base: process.env.NODE_ENV === 'production' ? '/sev-p5play/' : '/',
66
server: {
77
port: 3000,
88
open: true,

0 commit comments

Comments
 (0)