Skip to content

Commit

Permalink
Formating change. Add semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
trialnerr committed Jan 3, 2025
1 parent df79fa5 commit 6dc33d7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
server: {
//a proxy that allows you to send fetch requests on the frontend to example '/api/reviews'
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
},
server: {
//a proxy that allows you to send fetch requests on the frontend to example '/api/reviews'
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
},
},
},
},
plugins: [react()],
});
plugins: [react()],
})

0 comments on commit 6dc33d7

Please sign in to comment.