Skip to content

Commit

Permalink
Merge pull request ThePalaceProject#246 from NYPL-Simplified/CORS_Error
Browse files Browse the repository at this point in the history
Add support for JWT credentials to CORS handling.
  • Loading branch information
thinkwebengineer authored Nov 16, 2022
2 parents 777b963 + a628f51 commit f787369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library_registry/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
def create_app(testing=False, db_session_obj=None):

app = Flask(__name__)
CORS(app)
CORS(app, supports_credentials=True)
app.register_blueprint(drm)
app.register_blueprint(admin)
app.register_blueprint(libr)
Expand Down

0 comments on commit f787369

Please sign in to comment.