스프링부트 연결추가

This commit is contained in:
dyhj625 2025-01-13 09:57:47 +09:00
parent 126b78d980
commit 3aed02e3f1

View File

@ -5,6 +5,14 @@ import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/
export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:10325', // Spring Boot 서버 주소
changeOrigin: true,
},
},
},
plugins: [
vue(),
vueDevTools(),