Added turm

This commit is contained in:
Sebastian Speitel 2019-12-14 13:24:27 +01:00 committed by GitHub
parent 73d9535a5d
commit 9a5b97976b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

4
app.py
View File

@ -14,6 +14,10 @@ def tu_ilmenau():
def about():
return redirect("https://github.com/clerie/walduni", code=302)
@app.route('/turm')
def turm():
return redirect("https://turm.rz.tu-ilmenau.de/eE/aktuell/lstr_browser.php", code=302)
if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000.
port = int(os.environ.get('PORT', 5000))