This repository was archived by the owner on Jan 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 24
24
max : 4
25
25
ingresses :
26
26
- " https://www.intern.dev.nav.no/tms-tidligere-varsler-mikrofrontend"
27
+ - " https://www.ansatt.dev.nav.no/tms-tidligere-varsler-mikrofrontend"
27
28
resources :
28
29
limits :
29
30
cpu : " 3"
Original file line number Diff line number Diff line change 1
1
const isProduction = window . location . href . includes ( "www.nav.no" ) ;
2
- const isDevelopment = window . location . href . includes ( "www.intern.dev.nav.no" ) ;
2
+ const isDevelopment = window . location . href . includes ( "www.intern.dev.nav.no" ) || window . location . href . includes ( "www.ansatt.dev.nav.no" ) ;
3
3
4
4
export const getEnvironment = ( ) => {
5
5
if ( isDevelopment ) {
@@ -15,13 +15,13 @@ export const getEnvironment = () => {
15
15
16
16
const TMS_VARSEL_API = {
17
17
local : "http://localhost:3000/api/tms-varsel-api" ,
18
- development : "https://www.intern.dev.nav.no /tms-varsel-api" ,
18
+ development : ` ${ window . location . origin } /tms-varsel-api` ,
19
19
production : "https://www.nav.no/tms-varsel-api" ,
20
20
} ;
21
21
22
22
const MIN_SIDE_URL = {
23
23
local : "http://localhost:3000/minside" ,
24
- development : "https://www.intern.dev.nav.no /minside" ,
24
+ development : ` ${ window . location . origin } /minside` ,
25
25
production : "https://www.nav.no/minside" ,
26
26
} ;
27
27
You can’t perform that action at this time.
0 commit comments