diff --git a/app.py b/app.py index a2616c3..a2f62c0 100644 --- a/app.py +++ b/app.py @@ -14,11 +14,15 @@ def tu_ilmenau(): def about(): return redirect("https://github.com/clerie/walduni", code=302) -@app.route('/modultafeln/') -@app.route('/modultafel/') -@app.route('/modulplan/') -@app.route('/module/') -def modultafeln(course): +@app.route('/modultafeln//') +@app.route('/modultafel//') +@app.route('/modulplan//') +@app.route('/module//') +@app.route('/modultafeln/') +@app.route('/modultafel/') +@app.route('/modulplan/') +@app.route('/module/') +def modultafeln(course=""): courseToPath = { "amw": "AngewandteMedienundKommunikationswissenschaft/Bachelor/2014",