Skip to content
Snippets Groups Projects
Commit 08b519e9 authored by Sebastian Lobinger's avatar Sebastian Lobinger
Browse files

update addApp Method in sams_hub.py to pass test_sams_hub fix issue #24

parent 0217cc92
No related branches found
No related tags found
1 merge request!17Resolve "main app sollte auch unter /appname/,,, ereichbar sein"
Pipeline #
......@@ -37,9 +37,8 @@ class SAMSHub:
self._appList.append(app)
if app.name == self._config.get('main_app'):
self._flaskApp.register_blueprint(app.blueprint)
else:
self._flaskApp.register_blueprint(
app.blueprint, url_prefix = '/' + app.name)
self._flaskApp.register_blueprint(
app.blueprint, url_prefix = '/' + app.name)
@property
def appKeys(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment