SeanChenTaipei 2 years ago
parent 6ed1ea8e4f
commit 27bb5db708
  1. 3
      main.py
  2. 2
      templates/base.html

@ -24,7 +24,8 @@ CONFIGS = {
# "ENV": "development",
# "DEBUG": True,
"SECRET_KEY": os.urandom(30), # Set the secret key for session authentication
"PERMANENT_SESSION_LIFETIME": timedelta(minutes=60)
"PERMANENT_SESSION_LIFETIME": timedelta(minutes=60),
"PREFERRED_URL_SCHEME" : 'https'
}
SQL_CONFIG = dict(
database= os.getenv("PGDATABASE"),

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}NTHU Trading Platform{% endblock title%}</title>
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/growth.ico') }}">
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/growth.ico', _schema='https') }}">
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"

Loading…
Cancel
Save