Browse Source

always use debug

master
bakatrouble 11 months ago
parent
commit
c372f21cb1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoindex.py

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


Loading…
Cancel
Save