Commit 86c02956 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed optimade base-url.

parent a6890464
Pipeline #102161 passed with stages
in 24 minutes and 42 seconds
......@@ -13,6 +13,7 @@ sys.modules['optimade.server.logger'] = importlib.import_module('nomad.app.optim
from nomad import config, utils # nopep8
from optimade.server.config import CONFIG # nopep8
CONFIG.root_path = '%s/optimade' % config.services.api_base_path
CONFIG.base_url = config.api_url(api='optimade')
from optimade.server import main as optimade # nopep8
from optimade.server.routers import structures # nopep8
......
Markdown is supported
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