File tree 1 file changed +4
-11
lines changed
packages/internarbeidsflate-decorator-v3/src/utils
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -155,17 +155,10 @@ export const fpSakUrl = (
155
155
? `${ fpSakDomain ( enironment ) } /aktoer/${ aktoerId } `
156
156
: `${ fpSakDomain ( enironment ) } ` ;
157
157
158
- const k9domain = ( environment : Environment ) =>
158
+ const k9url = ( environment : Environment ) =>
159
159
environment === 'prod'
160
- ? 'https://k9-los-web.nais.adeo.no'
161
- : 'https://k9-los-web.dev.adeo.no' ;
162
- const k9url = (
163
- environment : Environment ,
164
- aktoerId ?: string | undefined | null ,
165
- ) =>
166
- aktoerId
167
- ? `${ k9domain ( environment ) } /aktoer/${ aktoerId } `
168
- : k9domain ( environment ) ;
160
+ ? 'https://k9-los-web.intern.nav.no'
161
+ : 'https://k9-los-web.intern.dev.nav.no' ;
169
162
170
163
const arbeidssokerUrl = ( {
171
164
environment,
@@ -278,7 +271,7 @@ export const buildLinks = ({
278
271
url : fpSakUrl ( environment , aktoerId ) ,
279
272
} ,
280
273
k9 : {
281
- url : k9url ( environment , aktoerId ) ,
274
+ url : k9url ( environment ) ,
282
275
} ,
283
276
rekrutteringsBistand : {
284
277
url : `https://rekrutteringsbistand${ naisDomain ( environment ) } ` ,
You can’t perform that action at this time.
0 commit comments