diff --git a/.gitignore b/.gitignore index a32ab0c..9997d06 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ coverage/ .yarn/ .nx/ addOns/yarn.lock +**.zip # YALC (for Erik) .yalc diff --git a/platform/app/public/config/default.js b/platform/app/public/config/default.js index 99b0c2a..e85e22c 100644 --- a/platform/app/public/config/default.js +++ b/platform/app/public/config/default.js @@ -1,7 +1,7 @@ /** @type {AppTypes.Config} */ function sas_get_token() { //implement token here - return "kris-check-token-is-here"; + return ''; } window.config = { sasGetToken: sas_get_token, @@ -28,8 +28,8 @@ window.config = { prefetch: 25, }, expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay) - expertise_host: `http://152.42.173.210`, //* Tambahan untuk fetch data Expertise) - pacs_document_host: `${window.location.hostname}`, + expertise_host: `https://devone.aplikasi.web.id/one-api/mockup/pacsmwl/Workorder/get_dummy_expertise`, //* Tambahan untuk fetch data Expertise) + pacs_document_host: `152.42.173.210`, pacs_document_port: 8080, // filterQueryParam: false, // defaultDataSourceName: 'dicomweb', diff --git a/platform/app/public/config/google.js b/platform/app/public/config/google.js index d9cabc0..35f2f05 100644 --- a/platform/app/public/config/google.js +++ b/platform/app/public/config/google.js @@ -1,7 +1,7 @@ /** @type {AppTypes.Config} */ window.config = { routerBasename: '/', - pacs_document_host: '152.42.173.210', + pacs_document_host: `${window.location.hostname}`, pacs_document_port: 8080, expertise: false, enableGoogleCloudAdapter: false, @@ -10,28 +10,9 @@ window.config = { showCPUFallbackMessage: true, showLoadingIndicator: true, strictZSpacingForVolumeViewport: true, - // This is an array, but we'll only use the first entry for now - // Remove OIDC configuration since proxy handles authentication - // oidc: [ - // { - // // ~ REQUIRED - // // Authorization Server URL - // authority: 'https://accounts.google.com', - // client_id: '382212153306-7q39hdie4ecj0uhemkitvedo93bnvfhn.apps.googleusercontent.com', - // redirect_uri: '/callback', - // 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, - // }, - // ], extensions: [], modes: [], - showStudyList: true, + showStudyList: false, // filterQueryParam: false, defaultDataSourceName: 'dicomweb', dataSources: [ @@ -53,12 +34,6 @@ window.config = { dicomUploadEnabled: false, omitQuotationForMultipartRequest: true, configurationAPI: 'ohif.dataSourceConfigurationAPI.google', - // defaultDicomStoreConfiguredItems: { - // id: 'projects/ohifproxy/locations/asia-southeast2/datasets/sas-storage', - // itemType: '3', - // name: 'store-1', - // url: 'https://healthcare.googleapis.com/v1/projects/ohifproxy/locations/asia-southeast2/datasets/sas-storage/dicomStores/store-1' - // }, }, }, {