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:
14
14
"""Set Flask configuration variables from .env file."""
15
15
16
16
# General Config
17
+ APPLICATION_NAME = "flasksession"
17
18
ENVIRONMENT = environ .get ("ENVIRONMENT" )
18
19
19
20
# Flask Config
@@ -37,4 +38,4 @@ class Config:
37
38
LESS_RUN_IN_DEBUG = False
38
39
STATIC_FOLDER = "static"
39
40
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 39
39
{# Scripts #}
40
40
<script src =" {{ url_for('static', filename='dist/js/main.min.js') }}" ></script >
41
41
{% block additionalscripts %}{% endblock %}
42
- {% include 'analytics.jinja2' %}
43
42
</body >
44
43
45
44
</html >
Original file line number Diff line number Diff line change 14
14
proc_name = "flasksession"
15
15
wsgi_app = "wsgi:app"
16
16
bind = "unix:flask.sock"
17
- threads = 1
18
- workers = 1
17
+ threads = 2
18
+ workers = 2
19
19
20
20
if ENVIRONMENT == "development" or ENVIRONMENT is None :
21
21
reload = True
You can’t perform that action at this time.
0 commit comments