Files
headporter 671f53f428
SpecialSource Frontend CD / deploy (push) Successful in 9s
feat : 로그인 기능 구현
2026-05-26 13:19:36 +09:00

21 lines
544 B
JavaScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)) // @ 기호를 src 폴더 주소로 매핑
}
},
server: {
proxy: {
// 로컬에서 /api로 요청을 보내면 백엔드 NAS 서버로 주소를 전달해 줍니다.
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
}
})