Skip to content

Commit

Permalink
fix: ignore trailing shlashes in the path
Browse files Browse the repository at this point in the history
  • Loading branch information
jakuboskera committed Jun 18, 2023
1 parent 4cb1892 commit fde630a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
def create_app(config=config_dict["dev"]):
app = Flask(__name__)
app.config.from_object(config)
app.url_map.strict_slashes = False

db.init_app(app)

Expand Down

0 comments on commit fde630a

Please sign in to comment.