This commit is contained in:
Ashiq5 2020-11-05 22:37:30 +06:00
parent 6f83bf2e7d
commit 0ff8d1d429
1 changed files with 1 additions and 2 deletions

View File

@ -685,8 +685,7 @@ def log_failed_login(request):
# APP
if __name__ == '__main__':
app.debug = True # TODO: remove this line and uncomment the next line after testing
# if "DEBUG" in os.environ: app.debug = True
if "DEBUG" in os.environ: app.debug = True
if "APIKEY" in os.environ: auth_service.key = os.environ["APIKEY"]
if not app.debug: