Skip to content

Commit 4ef86ac

Browse files
committed
Don't enforce strict slashes (#27)
gwh isn't a branch, but simply a leaf. Therefore, according to Werkzeug API [1] don't enforce slashes. [1] https://werkzeug.palletsprojects.com/en/2.2.x/routing/#rule-format This closes #27
1 parent 0c60bc7 commit 4ef86ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gwh/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
whitelist_ip = None
1212
repos = None
1313

14-
@app.route("/", methods=['GET', 'POST'])
14+
@app.route("/", methods=['GET', 'POST'], strict_slashes=False)
1515
def index():
1616
if request.method == "GET":
1717
return 'OK'

0 commit comments

Comments
 (0)