This commit is contained in:
Arne Baeumler 2021-06-05 15:23:23 +02:00
parent 574adf4ac9
commit 758fc07874

2
app.py
View File

@ -1,5 +1,6 @@
from flask import Flask, render_template, url_for, request, redirect, Response, abort, session
from flask_sqlalchemy import SQLAlchemy
from werkzeug.middleware.proxy_fix import ProxyFix
from datetime import datetime
import magic
import random
@ -30,6 +31,7 @@ rechenreihen = {
}
app = Flask(__name__)
app.wsgi_app = ProxyFix(app.wsgi_app, x_proto=1, x_host=1)
app.secret_key = 'eng5iikeiwah3lae4idoo0woh4eiy6Th'
@app.route('/', methods = ['GET', 'POST'])