We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472585d commit 0693c1cCopy full SHA for 0693c1c
frontend/src/services/api.js
@@ -1,4 +1,5 @@
1
-const API_BASE_URL = window.location.hostname.endsWith('.gitpod.dev')
+const API_BASE_URL = (window.location.hostname.endsWith('.gitpod.dev') ||
2
+ window.location.hostname.includes('.flex.doptig.cloud'))
3
? `https://3001--${window.location.hostname.replace(/\d{1,4}--/, '')}/api`
4
: 'http://localhost:3001/api';
5
0 commit comments