Shift default config to own file
This commit is contained in:
1 parent
0d5ac9ce4c
commit
6177a02f18
5 files changed
+41
-22
No files matched your search
+1
-21
@@ -8,27 +8,7 @@ import ReactDOM from 'react-dom'
|
||||
|
||||
export { App }
|
||||
|
||||
const applicationProps = window.config || {
|
||||
routerBasename: '/',
|
||||
rootUrl: 'http://localhost:5000',
|
||||
servers: {
|
||||
dicomWeb: [
|
||||
{
|
||||
name: 'DCM4CHEE',
|
||||
wadoUriRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/wado',
|
||||
qidoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
|
||||
wadoRoot: 'https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs',
|
||||
qidoSupportsIncludeField: true,
|
||||
imageRendering: 'wadors',
|
||||
thumbnailRendering: 'wadors',
|
||||
requestOptions: {
|
||||
requestFromBrowser: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
const applicationProps = window.config
|
||||
const app = React.createElement(App, applicationProps, null)
|
||||
|
||||
ReactDOM.render(app, document.getElementById('root'))
|
||||
|
||||
Reference in new issue
Block a user