Skip to content

Commit

Permalink
feat(api): allow to CORS credentials
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Styk <mart.styk@gmail.com>
  • Loading branch information
StykMartin committed May 2, 2021
1 parent e069029 commit bed610b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/bkr/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def add_url_rule(self, rule, *args, **kwargs):


app = PrefixedFlask('bkr.server')
CORS(app, vary_header=False)
CORS(app, vary_header=False, supports_credentials=True)

# Make flask.jsonify use TurboJson
app.json_encoder = turbojson.jsonify.GenericJSON
Expand Down

0 comments on commit bed610b

Please sign in to comment.