Fix url params and fix vite

This commit is contained in:
Reece
2025-06-04 23:02:53 +01:00
parent 61eac67dc1
commit 7dd79aa2a1
6 changed files with 99 additions and 37 deletions
+15
View File
@@ -0,0 +1,15 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
secure: false,
},
},
},
});