2024-05-24 18:21:09 +02:00
|
|
|
/** @type {AppTypes.Config} */
|
2020-05-20 18:49:17 +02:00
|
|
|
window.config = {
|
2025-03-27 21:47:16 +01:00
|
|
|
routerBasename: null,
|
2020-05-20 18:49:17 +02:00
|
|
|
enableGoogleCloudAdapter: true,
|
2022-11-04 14:01:34 +01:00
|
|
|
// below flag is for performance reasons, but it might not work for all servers
|
2023-02-17 21:04:07 +01:00
|
|
|
showWarningMessageForCrossOrigin: true,
|
|
|
|
|
showCPUFallbackMessage: true,
|
2022-11-16 20:19:52 +01:00
|
|
|
showLoadingIndicator: true,
|
2023-04-01 04:21:16 +02:00
|
|
|
strictZSpacingForVolumeViewport: true,
|
2020-05-20 18:49:17 +02:00
|
|
|
servers: {
|
|
|
|
|
// This is an array, but we'll only use the first entry for now
|
|
|
|
|
dicomWeb: [],
|
|
|
|
|
},
|
|
|
|
|
// This is an array, but we'll only use the first entry for now
|
|
|
|
|
oidc: [
|
|
|
|
|
{
|
|
|
|
|
// ~ REQUIRED
|
|
|
|
|
// Authorization Server URL
|
|
|
|
|
authority: 'https://accounts.google.com',
|
2023-09-01 22:19:39 +02:00
|
|
|
client_id: '723928408739-k9k9r3i44j32rhu69vlnibipmmk9i57p.apps.googleusercontent.com',
|
2020-05-20 18:49:17 +02:00
|
|
|
redirect_uri: '/callback', // `OHIFStandaloneViewer.js`
|
|
|
|
|
response_type: 'id_token token',
|
|
|
|
|
scope:
|
|
|
|
|
'email profile openid https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/cloud-healthcare', // email profile openid
|
|
|
|
|
// ~ OPTIONAL
|
|
|
|
|
post_logout_redirect_uri: '/logout-redirect.html',
|
|
|
|
|
revoke_uri: 'https://accounts.google.com/o/oauth2/revoke?token=',
|
|
|
|
|
automaticSilentRenew: true,
|
|
|
|
|
revokeAccessTokenOnSignout: true,
|
2020-04-23 04:01:34 +02:00
|
|
|
},
|
2020-05-20 18:49:17 +02:00
|
|
|
],
|
|
|
|
|
studyListFunctionsEnabled: true,
|
2020-04-23 04:01:34 +02:00
|
|
|
};
|