Skip to content

Commit b0b31f3

Browse files
committed
fix local dev
1 parent 8c6a293 commit b0b31f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vite.config.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ export default defineConfig({
1515
},
1616
server: {
1717
port: 8080,
18+
proxy: {
19+
// with options
20+
'^/backend/.*': {
21+
target: 'http://localhost:3001',
22+
changeOrigin: true,
23+
},
24+
},
1825
},
1926
plugins: [
2027
{

0 commit comments

Comments
 (0)