Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tklein1801 committed Feb 8, 2024
1 parent 28835fc commit 6497c2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ export default defineConfig({
port: 3000,
proxy: {
'/api': {
target: BACKEND_HOST,
// changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
target: 'https://dev.backend.budget-buddy.de',
changeOrigin: true,
rewrite: (path) => path.replace('/api', ''),
},
'/file': {
target: FILE_SERVICE_HOST,
// changeOrigin: true,
rewrite: (path) => path.replace(/^\/file/, ''),
changeOrigin: true,
rewrite: (path) => path.replace('/file', ''),
},
},
},
Expand Down

0 comments on commit 6497c2a

Please sign in to comment.