simplify config
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@ coverage/
|
|||||||
.yarn/
|
.yarn/
|
||||||
.nx/
|
.nx/
|
||||||
addOns/yarn.lock
|
addOns/yarn.lock
|
||||||
|
**.zip
|
||||||
|
|
||||||
# YALC (for Erik)
|
# YALC (for Erik)
|
||||||
.yalc
|
.yalc
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/** @type {AppTypes.Config} */
|
/** @type {AppTypes.Config} */
|
||||||
function sas_get_token() {
|
function sas_get_token() {
|
||||||
//implement token here
|
//implement token here
|
||||||
return "kris-check-token-is-here";
|
return '';
|
||||||
}
|
}
|
||||||
window.config = {
|
window.config = {
|
||||||
sasGetToken: sas_get_token,
|
sasGetToken: sas_get_token,
|
||||||
@@ -28,8 +28,8 @@ window.config = {
|
|||||||
prefetch: 25,
|
prefetch: 25,
|
||||||
},
|
},
|
||||||
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
|
||||||
expertise_host: `http://152.42.173.210`, //* Tambahan untuk fetch data Expertise)
|
expertise_host: `https://devone.aplikasi.web.id/one-api/mockup/pacsmwl/Workorder/get_dummy_expertise`, //* Tambahan untuk fetch data Expertise)
|
||||||
pacs_document_host: `${window.location.hostname}`,
|
pacs_document_host: `152.42.173.210`,
|
||||||
pacs_document_port: 8080,
|
pacs_document_port: 8080,
|
||||||
// filterQueryParam: false,
|
// filterQueryParam: false,
|
||||||
// defaultDataSourceName: 'dicomweb',
|
// defaultDataSourceName: 'dicomweb',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/** @type {AppTypes.Config} */
|
/** @type {AppTypes.Config} */
|
||||||
window.config = {
|
window.config = {
|
||||||
routerBasename: '/',
|
routerBasename: '/',
|
||||||
pacs_document_host: '152.42.173.210',
|
pacs_document_host: `${window.location.hostname}`,
|
||||||
pacs_document_port: 8080,
|
pacs_document_port: 8080,
|
||||||
expertise: false,
|
expertise: false,
|
||||||
enableGoogleCloudAdapter: false,
|
enableGoogleCloudAdapter: false,
|
||||||
@@ -10,28 +10,9 @@ window.config = {
|
|||||||
showCPUFallbackMessage: true,
|
showCPUFallbackMessage: true,
|
||||||
showLoadingIndicator: true,
|
showLoadingIndicator: true,
|
||||||
strictZSpacingForVolumeViewport: 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: [],
|
extensions: [],
|
||||||
modes: [],
|
modes: [],
|
||||||
showStudyList: true,
|
showStudyList: false,
|
||||||
// filterQueryParam: false,
|
// filterQueryParam: false,
|
||||||
defaultDataSourceName: 'dicomweb',
|
defaultDataSourceName: 'dicomweb',
|
||||||
dataSources: [
|
dataSources: [
|
||||||
@@ -53,12 +34,6 @@ window.config = {
|
|||||||
dicomUploadEnabled: false,
|
dicomUploadEnabled: false,
|
||||||
omitQuotationForMultipartRequest: true,
|
omitQuotationForMultipartRequest: true,
|
||||||
configurationAPI: 'ohif.dataSourceConfigurationAPI.google',
|
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'
|
|
||||||
// },
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user