Skip to content

Commit

Permalink
build: add config template instead config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Mar 30, 2022
1 parent 222c033 commit aecc7ad
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ models/dcmtk/linux-lib
__pycache__/

#ignore my temp scripts
tempScript
tempScript

#ignore config file of front-end
/public/scripts/config.js
20 changes: 0 additions & 20 deletions public/scripts/config.js

This file was deleted.

20 changes: 20 additions & 0 deletions public/scripts/config.template.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
var envConfig = {
QIDO: {
hostName: '127.0.0.1',
port: '9090',
api: 'dicom-web',
http: "http"
},
WADO: {
hostName: '127.0.0.1',
port: '9090',
api: 'dicom-web',
http: "http"
},
FHIR: {
hostName: '127.0.0.1',
port: '9090',
api: 'api/fhir',
http: "http"
}
}

0 comments on commit aecc7ad

Please sign in to comment.