Fix leading and trailing slashes in URL
This commit is contained in:
parent
adb10a609e
commit
1aa4db92ca
@ -45,7 +45,7 @@ def api_get_of_key(key):
|
|||||||
return el.get_list_of(key)
|
return el.get_list_of(key)
|
||||||
|
|
||||||
|
|
||||||
@app.route("api/keys/<key>/<index>")
|
@app.route("/api/keys/<key>/<index>/")
|
||||||
def api_get_index_of_key(key, index):
|
def api_get_index_of_key(key, index):
|
||||||
return el.get_index_of(key, index)
|
return el.get_index_of(key, index)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user