Skip to content

Commit

Permalink
fix local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadura committed Jan 8, 2025
1 parent 8c6a293 commit b0b31f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ export default defineConfig({
},
server: {
port: 8080,
proxy: {
// with options
'^/backend/.*': {
target: 'http://localhost:3001',
changeOrigin: true,
},
},
},
plugins: [
{
Expand Down

0 comments on commit b0b31f3

Please sign in to comment.