Specify our netlify config

This commit is contained in:
dannyrb 2019-04-29 13:19:17 -04:00
parent 0748f27cf2
commit 775a91152c
2 changed files with 29 additions and 0 deletions

9
.env.production Normal file
View File

@ -0,0 +1,9 @@
##
# PRODUCTION: Netlify
#
# We're using this to set variables for our Netlify deploy.
# Please feel free to delete or modify this file for your own production
# environment. Be careful not to commit anything sensitive to source control.
#
REACT_APP_CONFIG=config/netlify.js

20
public/config/netlify.js Normal file
View File

@ -0,0 +1,20 @@
window.config = {
routerBasename: '/demo',
rootUrl: '/demo',
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,
},
},
],
},
}