2024-05-24 18:21:09 +02:00
|
|
|
/** @type {AppTypes.Config} */
|
2019-07-10 09:26:19 +02:00
|
|
|
window.config = {
|
|
|
|
|
routerBasename: '/',
|
2021-07-16 19:32:51 +02:00
|
|
|
enableGoogleCloudAdapter: false,
|
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,
|
2019-07-10 09:26:19 +02:00
|
|
|
// 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',
|
2021-07-16 19:32:51 +02:00
|
|
|
redirect_uri: '/callback',
|
2019-07-10 09:26:19 +02:00
|
|
|
response_type: 'id_token token',
|
2019-12-09 18:47:23 +01:00
|
|
|
scope:
|
|
|
|
|
'email profile openid https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/cloud-healthcare', // email profile openid
|
2019-07-10 09:26:19 +02:00
|
|
|
// ~ OPTIONAL
|
|
|
|
|
post_logout_redirect_uri: '/logout-redirect.html',
|
|
|
|
|
revoke_uri: 'https://accounts.google.com/o/oauth2/revoke?token=',
|
2019-07-21 10:46:11 +02:00
|
|
|
automaticSilentRenew: true,
|
|
|
|
|
revokeAccessTokenOnSignout: true,
|
2019-07-10 09:26:19 +02:00
|
|
|
},
|
|
|
|
|
],
|
2021-07-16 19:32:51 +02:00
|
|
|
extensions: [],
|
|
|
|
|
modes: [],
|
|
|
|
|
showStudyList: true,
|
|
|
|
|
// filterQueryParam: false,
|
2023-05-08 21:49:28 +02:00
|
|
|
defaultDataSourceName: 'dicomweb',
|
2021-07-16 19:32:51 +02:00
|
|
|
dataSources: [
|
|
|
|
|
{
|
2022-04-06 19:28:42 +02:00
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
|
2021-07-16 19:32:51 +02:00
|
|
|
sourceName: 'dicomweb',
|
|
|
|
|
configuration: {
|
2023-07-20 17:43:05 +02:00
|
|
|
friendlyName: 'dcmjs DICOMWeb Server',
|
2021-07-16 19:32:51 +02:00
|
|
|
name: 'GCP',
|
|
|
|
|
wadoUriRoot:
|
|
|
|
|
'https://healthcare.googleapis.com/v1/projects/ohif-cloud-healthcare/locations/us-east4/datasets/ohif-qa-dataset/dicomStores/ohif-qa-2/dicomWeb',
|
|
|
|
|
qidoRoot:
|
|
|
|
|
'https://healthcare.googleapis.com/v1/projects/ohif-cloud-healthcare/locations/us-east4/datasets/ohif-qa-dataset/dicomStores/ohif-qa-2/dicomWeb',
|
|
|
|
|
wadoRoot:
|
|
|
|
|
'https://healthcare.googleapis.com/v1/projects/ohif-cloud-healthcare/locations/us-east4/datasets/ohif-qa-dataset/dicomStores/ohif-qa-2/dicomWeb',
|
|
|
|
|
qidoSupportsIncludeField: true,
|
|
|
|
|
imageRendering: 'wadors',
|
|
|
|
|
thumbnailRendering: 'wadors',
|
|
|
|
|
enableStudyLazyLoad: true,
|
|
|
|
|
supportsFuzzyMatching: true,
|
|
|
|
|
supportsWildcard: false,
|
2023-05-03 18:30:02 +02:00
|
|
|
dicomUploadEnabled: true,
|
2023-06-22 21:26:26 +02:00
|
|
|
omitQuotationForMultipartRequest: true,
|
2023-08-25 20:19:17 +02:00
|
|
|
configurationAPI: 'ohif.dataSourceConfigurationAPI.google',
|
2021-07-16 19:32:51 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-04-06 19:28:42 +02:00
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomjson',
|
2021-07-16 19:32:51 +02:00
|
|
|
sourceName: 'dicomjson',
|
|
|
|
|
configuration: {
|
2023-07-20 17:43:05 +02:00
|
|
|
friendlyName: 'dicom json',
|
2021-07-16 19:32:51 +02:00
|
|
|
name: 'json',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-04-06 19:28:42 +02:00
|
|
|
namespace: '@ohif/extension-default.dataSourcesModule.dicomlocal',
|
2021-07-16 19:32:51 +02:00
|
|
|
sourceName: 'dicomlocal',
|
2023-07-20 17:43:05 +02:00
|
|
|
configuration: {
|
|
|
|
|
friendlyName: 'dicom local',
|
|
|
|
|
},
|
2021-07-16 19:32:51 +02:00
|
|
|
},
|
|
|
|
|
],
|
2019-12-09 18:47:23 +01:00
|
|
|
};
|