Try to find ideal defaults
This commit is contained in:
parent
a5146e6f38
commit
70f83f131a
@ -14,12 +14,7 @@
|
||||
YARN_FLAGS = "--no-ignore-optional --pure-lockfile"
|
||||
|
||||
# COMMENT: This a rule for Single Page Applications
|
||||
# [[redirects]]
|
||||
# from = "/*"
|
||||
# to = "/index.html"
|
||||
# status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to ="/demo/index.html"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
window.config = {
|
||||
// default: '/'
|
||||
routerBasename: '/demo',
|
||||
// default: '/'
|
||||
relativeWebWorkerScriptsPath: '',
|
||||
servers: {
|
||||
dicomWeb: [
|
||||
{
|
||||
|
||||
@ -226,9 +226,12 @@ class App extends Component {
|
||||
oidc: PropTypes.array,
|
||||
userManager: PropTypes.object,
|
||||
location: PropTypes.object,
|
||||
whiteLabelling: PropTypes.object,
|
||||
}
|
||||
|
||||
static defaultProps = {
|
||||
routerBasename: '/',
|
||||
relativeWebWorkerScriptsPath: '',
|
||||
whiteLabelling: {},
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user