fix SERVER_NAME
This commit is contained in:
parent
7f440df1cb
commit
af74871c11
|
|
@ -9,6 +9,7 @@ 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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue