Skip to content

Commit

Permalink
static_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Tik committed Dec 3, 2024
1 parent 0399fea commit 8f9b17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8f9b17d

Please sign in to comment.