File tree Expand file tree Collapse file tree 4 files changed +4
-18
lines changed
flask_session_tutorial/templates Expand file tree Collapse file tree 4 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ class Config:
1414 """Set Flask configuration variables from .env file."""
1515
1616 # General Config
17+ APPLICATION_NAME = "flasksession"
1718 ENVIRONMENT = environ .get ("ENVIRONMENT" )
1819
1920 # Flask Config
@@ -37,4 +38,4 @@ class Config:
3738 LESS_RUN_IN_DEBUG = False
3839 STATIC_FOLDER = "static"
3940 TEMPLATES_FOLDER = "templates"
40- COMPRESSOR_DEBUG = environ . get ( "COMPRESSOR_DEBUG" )
41+ COMPRESSOR_DEBUG = True
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3939{# Scripts #}
4040<script src =" {{ url_for('static', filename='dist/js/main.min.js') }}" ></script >
4141{% block additionalscripts %}{% endblock %}
42- {% include 'analytics.jinja2' %}
4342</body >
4443
4544</html >
Original file line number Diff line number Diff line change 1414proc_name = "flasksession"
1515wsgi_app = "wsgi:app"
1616bind = "unix:flask.sock"
17- threads = 1
18- workers = 1
17+ threads = 2
18+ workers = 2
1919
2020if ENVIRONMENT == "development" or ENVIRONMENT is None :
2121 reload = True
You can’t perform that action at this time.
0 commit comments