Skip to content

Commit

Permalink
Add sustainability api to CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Mar 13, 2018
1 parent e5facfe commit fde9c8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readthedocs/core/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

log = logging.getLogger(__name__)

WHITELIST_URLS = ['/api/v2/footer_html', '/api/v2/search', '/api/v2/docsearch']
WHITELIST_URLS = ['/api/v2/footer_html', '/api/v2/search',
'/api/v2/docsearch', '/api/v2/sustainability']


webhook_github = Signal(providing_args=['project', 'data', 'event'])
Expand Down

0 comments on commit fde9c8a

Please sign in to comment.