We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fbcdda commit 2bc7562Copy full SHA for 2bc7562
frontend/vite.config.ts
@@ -1,18 +1,18 @@
1
-import { defineConfig } from 'vite'
2
-import react from '@vitejs/plugin-react'
+import { defineConfig } from "vite";
+import react from "@vitejs/plugin-react";
3
// import { resolve } from 'path' // 제거: node path 모듈은 브라우저 빌드에 불필요
4
5
// https://vitejs.dev/config/
6
export default defineConfig({
7
- base: '/chat/', // GitHub Pages용 base 경로
+ base: "/", // GitHub Pages용 base 경로
8
plugins: [react()],
9
resolve: {
10
alias: {
11
- "@": '/src',
+ "@": "/src",
12
},
13
14
server: {
15
port: 3000,
16
// 프록시 제거 - 환경변수를 통해 직접 API URL 사용
17
- }
18
-})
+ },
+});
0 commit comments