Commit f03a0472 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'optimade-fix' into 'v0.10.4'

Fixed optimade base-url.

See merge request !342
parents a6890464 86c02956
Pipeline #102221 passed with stages
in 23 minutes and 7 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