Skip to content

Commit

Permalink
fiks proxy url
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiklem committed Oct 3, 2024
1 parent 065d38a commit 8f6fed9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,7 @@ 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('/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
1 change: 0 additions & 1 deletion src/felles/header/modiadekoratør/Modiadekoratør.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const Modiadekoratør: FunctionComponent<Props> = ({ navKontor, onNavKontorChang
? 'https://rekrutteringsbistand.intern.nav.no/modiacontextholder'
: 'https://rekrutteringsbistand.intern.dev.nav.no/modiacontextholder';

console.log(proxyUrl);
const props: DecoratorProps = {
proxy: proxyUrl,
urlFormat: 'NAV_NO',
Expand Down

0 comments on commit 8f6fed9

Please sign in to comment.