diff options
author | BonfaceKilz | 2021-03-03 12:04:00 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-03-08 21:09:58 +0300 |
commit | 396aeed35a5925cb03cc1569669b257b8ccb07cb (patch) | |
tree | 38800eb85ad8ad0020e1474450d03ab16814f572 /gn3 | |
parent | 87a3e2254bdd837e9647c42b9c4ab98e986c5e1d (diff) | |
download | genenetwork3-396aeed35a5925cb03cc1569669b257b8ccb07cb.tar.gz |
Prepend all endpoints with "api"
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,6 +25,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask: app.config.update(config) elif config.endswith(".py"): app.config.from_pyfile(config) - app.register_blueprint(general, url_prefix="/") - app.register_blueprint(gemma, url_prefix="/gemma") + app.register_blueprint(general, url_prefix="/api/") + app.register_blueprint(gemma, url_prefix="/api/gemma") return app |