Skip to content

Commit

Permalink
chore: Add server proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
builtbysuraj committed Feb 11, 2024
1 parent 025b735 commit c56a57b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,10 @@ export default (args: ViteConfigInput) => {
generateScopedName,
},
},
server: {
proxy: {
'/api': 'http://localhost:5000',
},
},
})
}

0 comments on commit c56a57b

Please sign in to comment.