Loading app/config.py +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ load_dotenv() class Config: DEBUG = bool(os.getenv("DEBUG")) DEMO = bool(os.getenv("DEMO")) DEBUG = os.getenv("DEBUG").lower() in ("true", "1", "yes") DEMO = os.getenv("DEMO").lower() in ("true", "1", "yes") DEFAULT_LANGUAGE = os.getenv("DEFAULT_LANGUAGE") API_KEY = os.getenv("API_KEY") Loading app/view/layout.html +3 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,9 @@ </head> <body class="position-relative"> {% if data.DEMO %} <div id="demo-popup">demo site</div> {% endif %} {% block content %}{% endblock %} </body> Loading Loading
app/config.py +2 −2 Original line number Diff line number Diff line Loading @@ -8,8 +8,8 @@ load_dotenv() class Config: DEBUG = bool(os.getenv("DEBUG")) DEMO = bool(os.getenv("DEMO")) DEBUG = os.getenv("DEBUG").lower() in ("true", "1", "yes") DEMO = os.getenv("DEMO").lower() in ("true", "1", "yes") DEFAULT_LANGUAGE = os.getenv("DEFAULT_LANGUAGE") API_KEY = os.getenv("API_KEY") Loading
app/view/layout.html +3 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,9 @@ </head> <body class="position-relative"> {% if data.DEMO %} <div id="demo-popup">demo site</div> {% endif %} {% block content %}{% endblock %} </body> Loading