Skip to content

Commit

Permalink
made shure that the feedback and the calendar APIs route to our servers
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Mar 26, 2023
1 parent 5d16a76 commit 5ee7488
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webclient/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export default defineConfig({
strictPort: true,
open: false,
proxy: {
"^/api/.+": {
"^/api/[cf].*": {
target: "https://nav.tum.de",
},
"^/api/[^cf].*": {
target: "http://127.0.0.1:8080",
secure: false,
},
Expand Down

0 comments on commit 5ee7488

Please sign in to comment.