File tree 1 file changed +1
-10
lines changed
dashboard/new-dashboard/src/configurators
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import { dbTypeStore } from "../shared/dbTypes"
5
5
import { injectOrError , serverUrlObservableKey } from "../shared/injectionKeys"
6
6
7
7
export class ServerWithCompressConfigurator implements ServerConfigurator {
8
- static readonly DEFAULT_SERVER_URL = ServerWithCompressConfigurator . determineServerUrl ( )
9
- static readonly INTRANET_SERVER_URL = "https://ij-perf-api.labs.jb.gg"
8
+ static readonly DEFAULT_SERVER_URL = "https://ij-perf.labs.jb.gg"
10
9
11
10
private readonly observable : Observable < null >
12
11
private _serverUrl : string = ServerWithCompressConfigurator . DEFAULT_SERVER_URL
@@ -27,14 +26,6 @@ export class ServerWithCompressConfigurator implements ServerConfigurator {
27
26
)
28
27
}
29
28
30
- private static determineServerUrl ( ) : string {
31
- if ( window . location . hostname === "ij-perf-api.labs.jb.gg" ) {
32
- return ServerWithCompressConfigurator . INTRANET_SERVER_URL
33
- } else {
34
- return "https://ij-perf.labs.jb.gg"
35
- }
36
- }
37
-
38
29
get serverUrl ( ) : string {
39
30
return this . _serverUrl
40
31
}
You can’t perform that action at this time.
0 commit comments