Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiklem committed Oct 3, 2024
1 parent 5f6938c commit 065d38a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ const startServer = () => {
proxyUtenToken('/arbeidsgiver-notifikasjon-api', ARBEIDSGIVER_NOTIFIKASJON_API);

proxyMedOboToken('/modiacontextholder', MODIA_CONTEXT_HOLDER_API, scopes.modiaContextHolder);
proxyMedOboToken(
'/api/decorator',
MODIA_CONTEXT_HOLDER_API + '/api/decorator',
scopes.modiaContextHolder
);
proxyMedOboToken(
'/api/context',
MODIA_CONTEXT_HOLDER_API + '/api/context',
scopes.modiaContextHolder
);
// proxyMedOboToken(
// '/api/decorator',
// MODIA_CONTEXT_HOLDER_API + '/api/decorator',
// scopes.modiaContextHolder
// );
// proxyMedOboToken(
// '/api/context',
// MODIA_CONTEXT_HOLDER_API + '/api/context',
// scopes.modiaContextHolder
// );
proxyMedOboToken('/statistikk-api', STATISTIKK_API_URL, scopes.statistikk);
proxyMedOboToken('/stillingssok-proxy', STILLINGSSOK_PROXY_URL, scopes.stillingssøk);
proxyMedOboToken('/stilling-api', STILLING_API_URL, scopes.stilling);
Expand Down
4 changes: 2 additions & 2 deletions src/felles/header/modiadekoratør/Modiadekoratør.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const Modiadekoratør: FunctionComponent<Props> = ({ navKontor, onNavKontorChang

const proxyUrl =
getMiljø() === Miljø.ProdGcp
? 'https://rekrutteringsbistand.intern.nav.no'
: 'https://rekrutteringsbistand.intern.dev.nav.no';
? 'https://rekrutteringsbistand.intern.nav.no/modiacontextholder'
: 'https://rekrutteringsbistand.intern.dev.nav.no/modiacontextholder';

console.log(proxyUrl);
const props: DecoratorProps = {
Expand Down

0 comments on commit 065d38a

Please sign in to comment.