Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit e720036

Browse files
1 parent 68980ed commit e720036

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contacts/config.py

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
class Development:
66
DEBUG = True
77
SECRET_KEY = "changeme"
8+
9+
# Skipping the below configuration would trigger a 500
10+
# on bad api request with no auth headers case
11+
# Read more at flask jwt extended issue 86
12+
# https://github.com/vimalloc/flask-jwt-extended/issues/86
13+
PROPAGATE_EXCEPTIONS = True
14+
815
JWT_ACCESS_TOKEN_EXPIRES = False
916

1017
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres'\

0 commit comments

Comments
 (0)