Skip to content

Commit 729a0bd

Browse files
committed
feat: Add proxy configuration for /uploads to target http://localhost:8489.
1 parent 01f5328 commit 729a0bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vite.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export default defineConfig({
1313
changeOrigin: true,
1414
secure: false,
1515
},
16+
'/uploads': {
17+
target: 'http://localhost:8489',
18+
changeOrigin: true,
19+
secure: false,
20+
},
1621
},
1722
},
1823

0 commit comments

Comments
 (0)