Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
provide more default cors settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vangheem committed Nov 28, 2016
1 parent b48a808 commit fb2c61b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/plone.server/plone/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@
'default_permission': '',
'available_addons': {},
'api_definition': {},
'cors': {},
'cors': {
"allow_origin": [],
"allow_methods": ["GET", "POST", "DELETE", "HEAD", "PATCH"],
"allow_headers": [],
"expose_headers": [],
"allow_credentials": True,
"max_age": 3660
},
'jwt': {
'secret': 'foobar',
'algorithm': 'HS256'
Expand Down

0 comments on commit fb2c61b

Please sign in to comment.