mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-15 11:17:42 +02:00
Merge pull request #130 from R0m1k3/claude/fix-notes-sync-issue-01AMeEdrKQErsM7bvhKkqEEF
fix: configure Vite proxy to connect frontend to backend
This commit is contained in:
1 file changed
+11
-1
+11
-1
@@ -6,7 +6,17 @@ import path from "path";
|
||||
export default defineConfig(() => ({
|
||||
server: {
|
||||
host: "::",
|
||||
port: 2222,
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:2222',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/uploads': {
|
||||
target: 'http://localhost:2222',
|
||||
changeOrigin: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
build: {
|
||||
outDir: "dist",
|
||||
|
||||
Reference in new issue
Block a user