Fix CORS_ORIGIN_WHITELIST example in pypi.org documentation
guilouro opened this issue · comments
Guilherme Louro commented
Link: https://pypi.org/project/django-cors-headers/
Problem:
In the CORS_ORIGIN_WHITELIST
section, has an error in the example
Need to be
CORS_ORIGIN_WHITELIST = [
"https://example.com",
"https://sub.example.com",
"http://localhost:8080",
"http://127.0.0.1:9000"
] # <-- Fix this!
instead of
CORS_ORIGIN_WHITELIST = [
"https://example.com",
"https://sub.example.com",
"http://localhost:8080",
"http://127.0.0.1:9000"
) # <-- wrong signal
Adam Johnson commented
Thanks for spotting. This was fixed in #409 and will appear on PyPI with the next release. I don't have time to push a release just for the one typo :)
Guilherme Louro commented
Great! :)