From 3aed02e3f121149b94e1878844a9cb3a8cd50087 Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Mon, 13 Jan 2025 09:57:47 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=A4=ED=94=84=EB=A7=81=EB=B6=80=ED=8A=B8?= =?UTF-8?q?=20=EC=97=B0=EA=B2=B0=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vite.config.js b/vite.config.js index 617eec4..061e29f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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(),