From c372f21cb1cc3c11a1d9c2208117984f32f05f7e Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 16 Jun 2021 23:33:15 +0300 Subject: [PATCH] always use debug --- autoindex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoindex.py b/autoindex.py index 7ff4ae8..3054abc 100644 --- a/autoindex.py +++ b/autoindex.py @@ -12,7 +12,7 @@ from sanic_cors import CORS from utils import get_j2env, get_sort_icon, get_sort_link, resolve_path, list_dir -DEBUG = environ.get('ENV', '').upper() != 'PRODUCTION' +DEBUG = True # environ.get('ENV', '').upper() != 'PRODUCTION' app = Sanic('autoindex') cors = CORS(app)