fdfd
This commit is contained in:
parent
59e614b979
commit
2362921b9b
1 changed files with 1 additions and 4 deletions
|
@ -52,11 +52,8 @@ app.config['SQLALCHEMY_READ_URIS'] = [
|
||||||
]
|
]
|
||||||
|
|
||||||
app.config['SECRET_KEY'] = environ.get('MASTER_KEY')
|
app.config['SECRET_KEY'] = environ.get('MASTER_KEY')
|
||||||
app.config["SERVER_NAME"] = environ.get(
|
app.config["SERVER_NAME"] = environ.get("domain", environ.get("SERVER_NAME", "")).strip()
|
||||||
"domain", environ.get(
|
|
||||||
"SERVER_NAME", "")).strip()
|
|
||||||
|
|
||||||
print(app.config['SECRET_KEY'])
|
|
||||||
app.config["SHORT_DOMAIN"]=environ.get("SHORT_DOMAIN","").strip()
|
app.config["SHORT_DOMAIN"]=environ.get("SHORT_DOMAIN","").strip()
|
||||||
app.config["SESSION_COOKIE_NAME"] = "session_drama"
|
app.config["SESSION_COOKIE_NAME"] = "session_drama"
|
||||||
app.config["VERSION"] = _version
|
app.config["VERSION"] = _version
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue