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