Skip to content

Commit

Permalink
Merge pull request #22 from builtbysuraj/style-refactor-client
Browse files Browse the repository at this point in the history
chore: Add server proxy
  • Loading branch information
builtbysuraj authored Feb 12, 2024
2 parents 0b75d50 + c56a57b commit 6964a21
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 6964a21

Please sign in to comment.