Commit 0a5bc722 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed gui config.

parent 0fd36137
Pipeline #61469 passed with stages
in 33 minutes and 58 seconds
window.nomadEnv = {
'apiBase': 'http://localhost:8000/fairdi/nomad/latest/api',
'appBase': 'http://localhost:8000/fairdi/nomad/latest',
'kibanaBase': '/fairdi/kibana',
'debug': false
}
......@@ -6,7 +6,7 @@ import secondary from '@material-ui/core/colors/blueGrey'
import { createMuiTheme } from '@material-ui/core'
window.nomadEnv = window.nomadEnv || {}
export const appBase = window.nomadEnv.apiBase.replace(/\/$/, '')
export const appBase = window.nomadEnv.appBase.replace(/\/$/, '')
export const apiBase = `${appBase}/api`
export const optimadeBase = `${appBase}/optimade`
export const guiBase = process.env.PUBLIC_URL
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment