always use debug
This commit is contained in:
parent
c7dd8da30a
commit
c372f21cb1
@ -12,7 +12,7 @@ from sanic_cors import CORS
|
|||||||
from utils import get_j2env, get_sort_icon, get_sort_link, resolve_path, list_dir
|
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')
|
app = Sanic('autoindex')
|
||||||
cors = CORS(app)
|
cors = CORS(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user