SeanChenTaipei 2 years ago
parent d4432baf12
commit 3069dab354
  1. 18
      main.py

@ -21,8 +21,8 @@ pd.options.plotting.backend = "plotly"
# PARAMETERS # PARAMETERS
CONFIGS = { CONFIGS = {
# "ENV": "development", "ENV": "development",
# "DEBUG": True, "DEBUG": True,
"SECRET_KEY": os.urandom(30), # Set the secret key for session authentication "SECRET_KEY": os.urandom(30), # Set the secret key for session authentication
"PERMANENT_SESSION_LIFETIME": timedelta(minutes=60) "PERMANENT_SESSION_LIFETIME": timedelta(minutes=60)
} }
@ -33,13 +33,13 @@ SQL_CONFIG = dict(
port=os.getenv("PGPORT"), port=os.getenv("PGPORT"),
password=os.getenv("PGPASSWORD") password=os.getenv("PGPASSWORD")
) )
# SQL_CONFIG = dict( SQL_CONFIG = dict(
# database="railway", database="railway",
# user="postgres", user="postgres",
# host="containers-us-west-103.railway.app", host="containers-us-west-103.railway.app",
# port="5913", port="5913",
# password="gv5Mh7cPjCm9YTjAmsYD" password="gv5Mh7cPjCm9YTjAmsYD"
# ) )
# SQL_CONFIG = {@ # SQL_CONFIG = {@
# 'database': "tpm", # 'database': "tpm",
# 'user': "hsienchen", # 'user': "hsienchen",

Loading…
Cancel
Save