X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fconfig.py;h=c927c3ca50a2ee10f7170808c53212d302528ed8;hp=55f92cc36b40f8e26692467931a7a061f6b03806;hb=cd417be7f836eb9346fad4f87bd4f75dc1d9a429;hpb=b2cb835b34c7404b2aaee3ec30700c67537da66d diff --git a/resources/tools/dash/app/config.py b/resources/tools/dash/app/config.py index 55f92cc36b..c927c3ca50 100644 --- a/resources/tools/dash/app/config.py +++ b/resources/tools/dash/app/config.py @@ -13,24 +13,15 @@ # 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 - FLASK_APP = environ.get("FLASK_APP") - FLASK_ENV = environ.get("FLASK_ENV") - SECRET_KEY = environ.get("SECRET_KEY") - - # Assets - LESS_BIN = environ.get("LESS_BIN") - ASSETS_DEBUG = environ.get("ASSETS_DEBUG") - LESS_RUN_IN_DEBUG = environ.get("LESS_RUN_IN_DEBUG") + FLASK_APP = "wsgi.py" + FLASK_ENV = "production" # Static Assets STATIC_FOLDER = "static" TEMPLATES_FOLDER = "templates" - COMPRESSOR_DEBUG = environ.get("COMPRESSOR_DEBUG") + COMPRESSOR_DEBUG ="True"