From 8f9b17df3af343b22221a4b832b6cb01c78d8c23 Mon Sep 17 00:00:00 2001 From: Tik Date: Tue, 3 Dec 2024 16:44:53 +0200 Subject: [PATCH] static_url --- pygeoapi/flask_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/flask_app.py b/pygeoapi/flask_app.py index faa0a0f52..a318aa8e1 100644 --- a/pygeoapi/flask_app.py +++ b/pygeoapi/flask_app.py @@ -66,7 +66,7 @@ if 'templates' in CONFIG['server']: STATIC_FOLDER = CONFIG['server']['templates'].get('static', 'static') -APP = Flask(__name__, static_folder=STATIC_FOLDER, static_url_path='/static') +APP = Flask(__name__, static_folder=STATIC_FOLDER, static_url_path=static_url) APP.url_map.strict_slashes = API_RULES.strict_slashes BLUEPRINT = Blueprint(