Skip to content

Commit 94e4716

Browse files
idpokutesounmindDaleSeohi-rachelKwonNayeon
committed
Update base path
Co-authored-by: sounmind <sounmind@users.noreply.github.com> Co-authored-by: Sehui Park <mike.sayhi@gmail.com> Co-authored-by: Dale Seo <dale.seo@gmail.com> Co-authored-by: hi-rachel <rachel.uiux@gmail.com> Co-authored-by: Nayeon <nayeonkn0330@gmail.com> Co-authored-by: Sam Lee <SamTheKorean@users.noreply.github.com>
1 parent 6b6adc8 commit 94e4716

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend/vite.config.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { defineConfig } from 'vite'
2-
import react from '@vitejs/plugin-react'
1+
import { defineConfig } from "vite";
2+
import react from "@vitejs/plugin-react";
33
// import { resolve } from 'path' // 제거: node path 모듈은 브라우저 빌드에 불필요
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
7-
base: '/chat/', // GitHub Pages용 base 경로
7+
base: "/", // GitHub Pages용 base 경로
88
plugins: [react()],
99
resolve: {
1010
alias: {
11-
"@": '/src',
11+
"@": "/src",
1212
},
1313
},
1414
server: {
1515
port: 3000,
1616
// 프록시 제거 - 환경변수를 통해 직접 API URL 사용
17-
}
18-
})
17+
},
18+
});

0 commit comments

Comments
 (0)