Added unirz

This commit is contained in:
Sebastian Speitel 2019-12-14 21:25:22 +01:00 committed by GitHub
parent 4c93be3c59
commit 6334029343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
app.py
View File

@ -56,6 +56,11 @@ def modultafeln(course=""):
def mail(): def mail():
return redirect("https://webmail.tu-ilmenau.de/", code=302) return redirect("https://webmail.tu-ilmenau.de/", code=302)
@app.route('/unirz/')
@app.route('/rz/')
def unirz():
return redirect("https://www.tu-ilmenau.de/unirz/", code=302)
if __name__ == '__main__': if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000. # Bind to PORT if defined, otherwise default to 5000.
port = int(os.environ.get('PORT', 5000)) port = int(os.environ.get('PORT', 5000))