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 5294216 commit 7191903Copy full SHA for 7191903
backend/src/main.ts
@@ -31,7 +31,9 @@ async function bootstrap() {
31
if (hostName == 'developer.fidesinnova.io') {
32
adminHostName = 'admindeveloper.fidesinnova.io';
33
} else {
34
- const host = String(hostName).split('.').slice(-2).join('.');
+// const host = String(hostName).split('.').slice(-2).join('.');
35
+ const parts = String(hostName).split('.');
36
+ const host = parts.slice(1).join('.');
37
adminHostName = 'admin.' + host;
38
}
39
0 commit comments