aboutsummaryrefslogtreecommitdiff
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/vite.config.js b/vite.config.js
index 8b0f57b..df070a7 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -3,5 +3,10 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
- plugins: [react()],
+ plugins: [react()],
+ server: {
+ proxy: {
+ '/api': 'http://localhost:5000',
+ },
+ },
})