X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fconfig.py;h=c927c3ca50a2ee10f7170808c53212d302528ed8;hb=89b26f0793d19434731e2d97f02939494369c739;hp=279317b7818019034b8a128911e83a56c1265ae7;hpb=a5e8351152d9513811e2d6d9eaaf2180e35e002d;p=csit.git diff --git a/resources/tools/dash/app/config.py b/resources/tools/dash/app/config.py index 279317b781..c927c3ca50 100644 --- a/resources/tools/dash/app/config.py +++ b/resources/tools/dash/app/config.py @@ -13,23 +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.""" + """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"