Skip to content

Commit

Permalink
Support trailing slashes on Flask routes (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Sep 25, 2021
1 parent cb1b146 commit 1564d90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GeoHealthCheck/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def init():
# Do init once
app = Flask(__name__)

app.url_map.strict_slashes = False

# Read and override configs
app.config.from_pyfile('config_main.py')
# config_site.py not present in doc-build: silently fail
Expand Down

0 comments on commit 1564d90

Please sign in to comment.