Revert "fix SERVER_NAME"

This reverts commit af74871c11.
This commit is contained in:
Wojciech Kwolek 2020-08-29 21:46:06 +02:00
parent af74871c11
commit 6075920a97
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ def create_app():
app.config['SQLALCHEMY_DATABASE_URI'] = os.getenv(
"DATABASE_URL", "sqlite:///app.db")
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SERVER_NAME'] = os.getenv('FLASK_SERVER_NAME', 'doneth.at')
from . import db
db.init_app(app)