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
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 23
23
min : 2
24
24
max : 4
25
25
ingresses :
26
- - " https://person .dev.nav.no/tms-min-side-varslinger"
26
+ - " https://www.intern .dev.nav.no/tms-min-side-varslinger"
27
27
resources :
28
28
limits :
29
29
cpu : " 3"
Original file line number Diff line number Diff line change 1
- const isProduction = window . location . href . includes ( "www.intern.nav.no" ) || window . location . href . includes ( "www. nav.no") ;
2
- const isDevelopment = window . location . href . includes ( "www.dev.nav.no" ) ;
1
+ const isProduction = window . location . href . includes ( "www.nav.no" ) ;
2
+ const isDevelopment = window . location . href . includes ( "www.intern. dev.nav.no" ) ;
3
3
4
4
export const getEnvironment = ( ) => {
5
5
if ( isDevelopment ) {
@@ -21,13 +21,11 @@ const TMS_VARSEL_API = {
21
21
22
22
const MIN_SIDE_URL = {
23
23
local : "http://localhost:3000/minside" ,
24
- development : "https://www.dev.nav.no/minside" ,
24
+ development : "https://www.intern. dev.nav.no/minside" ,
25
25
production : "https://www.nav.no/minside" ,
26
26
} ;
27
27
28
28
const tmsVarselAPI = TMS_VARSEL_API [ getEnvironment ( ) ] ;
29
29
export const minSideUrl = MIN_SIDE_URL [ getEnvironment ( ) ] ;
30
-
31
30
export const inaktiveVarslerApiUrl = `${ tmsVarselAPI } /inaktive` ;
32
-
33
31
export const tidligereVarslerUrl = `${ minSideUrl } /varslinger` ;
You can’t perform that action at this time.
0 commit comments