chore: fix

This commit is contained in:
2026-05-01 20:58:51 +02:00
parent 46b287c960
commit b34c239415
12 changed files with 87 additions and 24 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const DEV_API_TARGET = "http://localhost:8080";
export default defineConfig({
plugins: [react()],
build: {
@@ -9,11 +11,11 @@ export default defineConfig({
server: {
proxy: {
"/api": {
target: "https://5.181.0.112.nip.io",
target: DEV_API_TARGET,
changeOrigin: true,
},
"/uploads": {
target: "https://5.181.0.112.nip.io",
target: DEV_API_TARGET,
changeOrigin: true,
},
},