Skip to content

Commit 3961198

Browse files
allow trailing slash in urls
1 parent 60551d7 commit 3961198

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
def create_app(config_class=DevelopmentConfig):
88
app = Flask(__name__)
99
app.config.from_object(config_class)
10+
app.url_map.strict_slashes = False
1011

1112
# initialize extensions
1213
db.init_app(app)

0 commit comments

Comments
 (0)