Support room routes without app prefix
This commit is contained in:
parent
633017b64c
commit
c71eaee171
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ def get_db():
|
|||
def start():
|
||||
return '<h1>Verlies</h1><a href="/app/raum/1">Abenteuer starten</a>'
|
||||
|
||||
@app.route("/raum/<int:id>")
|
||||
@app.route("/app/raum/<int:id>")
|
||||
def raum(id):
|
||||
db = get_db()
|
||||
|
|
|
|||
Loading…
Reference in a new issue