Added catchall
This commit is contained in:
parent
622628419b
commit
c4cdf2dfd2
14
app.py
14
app.py
@ -14,11 +14,15 @@ def tu_ilmenau():
|
|||||||
def about():
|
def about():
|
||||||
return redirect("https://github.com/clerie/walduni", code=302)
|
return redirect("https://github.com/clerie/walduni", code=302)
|
||||||
|
|
||||||
@app.route('/modultafeln/<course>')
|
@app.route('/modultafeln/<course>/')
|
||||||
@app.route('/modultafel/<course>')
|
@app.route('/modultafel/<course>/')
|
||||||
@app.route('/modulplan/<course>')
|
@app.route('/modulplan/<course>/')
|
||||||
@app.route('/module/<course>')
|
@app.route('/module/<course>/')
|
||||||
def modultafeln(course):
|
@app.route('/modultafeln/')
|
||||||
|
@app.route('/modultafel/')
|
||||||
|
@app.route('/modulplan/')
|
||||||
|
@app.route('/module/')
|
||||||
|
def modultafeln(course=""):
|
||||||
|
|
||||||
courseToPath = {
|
courseToPath = {
|
||||||
"amw": "AngewandteMedienundKommunikationswissenschaft/Bachelor/2014",
|
"amw": "AngewandteMedienundKommunikationswissenschaft/Bachelor/2014",
|
||||||
|
Loading…
Reference in New Issue
Block a user