Browse Source

Merge pull request #693 from doccano/enhancement/addCORSAddr

Add CORS whitelist
pull/722/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
a57ced926f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      app/app/settings.py

1
app/app/settings.py

@ -314,4 +314,5 @@ if DEBUG:
CORS_ORIGIN_WHITELIST = (
'http://127.0.0.1:3000',
'http://0.0.0.0:3000',
'http://localhost:3000'
)
Loading…
Cancel
Save