diff --git a/vite.config.ts b/vite.config.ts index b3a7bed..064bc3f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,14 +14,14 @@ export default defineConfig({ server: { proxy: { "/api": { - target: "http://127.0.0.1:5173", + target: "http://127.0.0.1:3001", changeOrigin: false, xfwd: true, }, // Uploaded images. nginx serves these in production; in dev // the API does, so they go to the same place as /api. "/uploads": { - target: "http://127.0.0.1:5173", + target: "http://127.0.0.1:3001", changeOrigin: false, }, },