From 7036420059513372cdd4c4514d3cf670497ce986 Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 13 Jul 2023 12:28:04 +0200 Subject: [PATCH] update app: geo_api not used anymore (fix patch) --- patches/back/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/back/server.py b/patches/back/server.py index a2bd0f8..0f5b4ca 100644 --- a/patches/back/server.py +++ b/patches/back/server.py @@ -96,7 +96,7 @@ def get_app(config, _app=None, with_external_mods=True, url_prefix="/api"): from gncitizen.core.users.routes import users_api from gncitizen.core.commons.routes import commons_api from gncitizen.core.observations.routes import obstax_api - from gncitizen.core.ref_geo.routes import geo_api + #from gncitizen.core.ref_geo.routes import geo_api from gncitizen.core.badges.routes import badges_api from gncitizen.core.taxonomy.routes import taxo_api from gncitizen.core.sites.routes import sites_api @@ -104,7 +104,7 @@ def get_app(config, _app=None, with_external_mods=True, url_prefix="/api"): app.register_blueprint(users_api, url_prefix=url_prefix) app.register_blueprint(commons_api, url_prefix=url_prefix) app.register_blueprint(obstax_api, url_prefix=url_prefix) - app.register_blueprint(geo_api, url_prefix=url_prefix) + #app.register_blueprint(geo_api, url_prefix=url_prefix) app.register_blueprint(badges_api, url_prefix=url_prefix) app.register_blueprint(taxo_api, url_prefix=url_prefix) app.register_blueprint(sites_api, url_prefix=url_prefix + "/sites")