mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
Update cors headers regex (#168)
This commit is contained in:
parent
0bce568bce
commit
489c1a700e
1 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,8 @@ CORS_ALLOW_METHODS = (
|
|||
'GET'
|
||||
)
|
||||
|
||||
CORS_URLS_REGEX = r'^/api/.*$'
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_RENDERER_CLASSES': (
|
||||
'rest_framework.renderers.JSONRenderer',
|
||||
|
|
Loading…
Reference in a new issue