Skip to content

Commit

Permalink
vedlegg i livets sluttfase
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehansen2 committed Oct 2, 2024
1 parent 8b296fa commit eee4af6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ server.use(
server.use((req, res, next) => {
res.set('Access-Control-Allow-Origin', 'http://localhost:8080');
res.set('Access-Control-Allow-Methods', ['GET', 'POST', 'DELETE', 'PUT']);
res.set('Access-Control-Allow-Headers', ['content-type', 'X-Brukerdialog-Git-Sha', 'x_correlation_id']);
res.set('Access-Control-Allow-Headers', [
'content-type',
'X-Brukerdialog-Git-Sha',
'x_correlation_id',
'x-correlation-id',
]);
res.set('Access-Control-Allow-Credentials', true);

next();
Expand Down
6 changes: 5 additions & 1 deletion apps/pleiepenger-i-livets-sluttfase-soknad/nais/dev-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"API_TOKENX_AUDIENCE": "dev-gcp:dusseldorf:k9-brukerdialog-prosessering",
"NPM_CONFIG_CACHE": "/tmp",
"APP_VERSION": "dev",
"MINSIDE_URL": "https://www.intern.dev.nav.no/minside"
"MINSIDE_URL": "https://www.intern.dev.nav.no/minside",

"K9_BRUKERDIALOG_PROSESSERING_API_SCOPE": "dev-gcp:dusseldorf:k9-brukerdialog-prosessering",
"K9_BRUKERDIALOG_PROSESSERING_API_URL": "http://k9-brukerdialog-prosessering",
"K9_BRUKERDIALOG_PROSESSERING_FRONTEND_PATH": "/api"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"APPSTATUS_DATASET": "production",
"API_TOKENX_AUDIENCE": "prod-gcp:dusseldorf:k9-brukerdialog-prosessering",
"NPM_CONFIG_CACHE": "/tmp",
"MINSIDE_URL": "https://www.nav.no/minside"
"MINSIDE_URL": "https://www.nav.no/minside",

"K9_BRUKERDIALOG_PROSESSERING_API_SCOPE": "prod-gcp:dusseldorf:k9-brukerdialog-prosessering",
"K9_BRUKERDIALOG_PROSESSERING_API_URL": "http://k9-brukerdialog-prosessering",
"K9_BRUKERDIALOG_PROSESSERING_FRONTEND_PATH": "/familie/sykdom-i-familien/soknad/pleiepenger-i-livets-sluttfase"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const getAppSettings = () => ({
MINSIDE_URL: `${process.env.MINSIDE_URL}`,
PUBLIC_PATH: `${process.env.PUBLIC_PATH}`,
VEDLEGG_API_URL: `${process.env.VEDLEGG_API_URL}`,
K9_BRUKERDIALOG_PROSESSERING_FRONTEND_PATH: `${process.env.K9_BRUKERDIALOG_PROSESSERING_FRONTEND_PATH}`,
K9_BRUKERDIALOG_PROSESSERING_API_URL: `${process.env.K9_BRUKERDIALOG_PROSESSERING_API_URL}`,
});

module.exports = getAppSettings;

0 comments on commit eee4af6

Please sign in to comment.