seversi dengan hangtuah

This commit is contained in:
mario
2025-04-30 08:10:22 +07:00
parent ca84179aa6
commit f323b0b046
2 changed files with 18 additions and 15 deletions

View File

@@ -24,7 +24,9 @@ window.config = {
prefetch: 25, prefetch: 25,
}, },
expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay) expertise: false, //* Tambahan untuk enable expertise (CustomizableViewportOverlay)
expertise_host: `http://${window.location.hostname}`, //* Tambahan untuk fetch data Expertise) expertise_host: `http://192.168.1.29`, //* Tambahan untuk fetch data Expertise)
pacs_document_host: `192.168.1.29`,
pacs_document_port: 8080,
// filterQueryParam: false, // filterQueryParam: false,
// defaultDataSourceName: 'dicomweb', // defaultDataSourceName: 'dicomweb',
defaultDataSourceName: 'local-proxy', defaultDataSourceName: 'local-proxy',
@@ -45,8 +47,8 @@ window.config = {
configuration: { configuration: {
friendlyName: 'Static WADO Local Data', friendlyName: 'Static WADO Local Data',
name: 'DCM4CHEE', name: 'DCM4CHEE',
qidoRoot: `http://${window.location.hostname}:5050/rs`, qidoRoot: `http://192.168.1.29:5000/rs`,
wadoRoot: `http://${window.location.hostname}:5050/rs`, wadoRoot: `http://192.168.1.29:5000/rs`,
qidoSupportsIncludeField: false, qidoSupportsIncludeField: false,
supportsReject: true, supportsReject: true,
supportsStow: true, supportsStow: true,

View File

@@ -1,6 +1,9 @@
/** @type {AppTypes.Config} */ /** @type {AppTypes.Config} */
window.config = { window.config = {
routerBasename: '/', routerBasename: '/',
pacs_document_host: `${window.location.hostname}`,
pacs_document_port: 8080,
expertise: false,
enableGoogleCloudAdapter: false, enableGoogleCloudAdapter: false,
// below flag is for performance reasons, but it might not work for all servers // below flag is for performance reasons, but it might not work for all servers
showWarningMessageForCrossOrigin: true, showWarningMessageForCrossOrigin: true,
@@ -25,18 +28,16 @@ window.config = {
revokeAccessTokenOnSignout: true, revokeAccessTokenOnSignout: true,
// Tambahan dari Google CLoud Secret // Tambahan dari Google CLoud Secret
project_id: "westone-433204", project_id: 'westone-433204',
auth_uri: "https://accounts.google.com/o/oauth2/auth", auth_uri: 'https://accounts.google.com/o/oauth2/auth',
token_uri: "https://oauth2.googleapis.com/token", token_uri: 'https://oauth2.googleapis.com/token',
auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs", auth_provider_x509_cert_url: 'https://www.googleapis.com/oauth2/v1/certs',
client_secret: "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", client_secret: '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',
redirect_uris: [ redirect_uris: ['http://devkedungdoro.aplikasi.web.id:3000/callback'],
"http://devkedungdoro.aplikasi.web.id:3000/callback"
],
javascript_origins: [ javascript_origins: [
"https://devone.aplikasi.web.id", 'https://devone.aplikasi.web.id',
"http://devkedungdoro.aplikasi.web.id:3000" 'http://devkedungdoro.aplikasi.web.id:3000',
] ],
}, },
], ],
extensions: [], extensions: [],
@@ -70,7 +71,7 @@ window.config = {
id: 'projects/westone-433204/locations/asia-southeast2/datasets/sas-dicom-storage', id: 'projects/westone-433204/locations/asia-southeast2/datasets/sas-dicom-storage',
itemType: '3', itemType: '3',
name: 'ohif', name: 'ohif',
url: 'https://healthcare.googleapis.com/v1/projects/westone-433204/locations/asia-southeast2/datasets/sas-dicom-storage/dicomStores/ohif' url: 'https://healthcare.googleapis.com/v1/projects/westone-433204/locations/asia-southeast2/datasets/sas-dicom-storage/dicomStores/ohif',
}, },
}, },
}, },