feat: Proxy /static to Express server in Vite dev mode

This commit is contained in:
2026-03-09 18:50:04 -05:00
parent 422ea5cf7f
commit 24d96ca08a

View File

@@ -13,6 +13,10 @@ export default defineConfig({
'/uploads': { '/uploads': {
target: 'http://localhost:3000', target: 'http://localhost:3000',
changeOrigin: true changeOrigin: true
},
'/static': {
target: 'http://localhost:3000',
changeOrigin: true
} }
} }
}, },