Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Trending: Add 3n-alt - fixes
[csit.git]
/
resources
/
tools
/
dash
/
app
/
config.py
diff --git
a/resources/tools/dash/app/config.py
b/resources/tools/dash/app/config.py
index
55f92cc
..
76f6641
100644
(file)
--- a/
resources/tools/dash/app/config.py
+++ b/
resources/tools/dash/app/config.py
@@
-13,24
+13,20
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-from os import environ
-
-
class Config:
"""Flask configuration variables.
"""
# General Config
class Config:
"""Flask configuration variables.
"""
# General Config
- FLASK_APP = environ.get("FLASK_APP")
- FLASK_ENV = environ.get("FLASK_ENV")
- SECRET_KEY = environ.get("SECRET_KEY")
+ FLASK_APP = "wsgi.py"
+ FLASK_ENV = "production"
# Assets
# Assets
- LESS_BIN =
environ.get("LESS_BIN")
- ASSETS_DEBUG =
environ.get("ASSETS_DEBUG")
- LESS_RUN_IN_DEBUG =
environ.get("LESS_RUN_IN_DEBUG")
+ LESS_BIN =
"/usr/local/bin/lessc"
+ ASSETS_DEBUG =
"False"
+ LESS_RUN_IN_DEBUG =
"False"
# Static Assets
STATIC_FOLDER = "static"
TEMPLATES_FOLDER = "templates"
# Static Assets
STATIC_FOLDER = "static"
TEMPLATES_FOLDER = "templates"
- COMPRESSOR_DEBUG =
environ.get("COMPRESSOR_DEBUG")
+ COMPRESSOR_DEBUG =
"True"