fix debug setting

This commit is contained in:
bakatrouble 2022-12-14 15:07:57 +03:00
parent cee28f1ee6
commit 601a6f6536

View File

@ -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 = True # environ.get('ENV', '').upper() != 'PRODUCTION'
DEBUG = environ.get('ENV', '').upper() != 'PRODUCTION'
app = Sanic('autoindex')
cors = CORS(app)