Merge remote-tracking branch 'inventree/master' into select2-search
This commit is contained in:
commit
b4074afbad
|
|
@ -32,13 +32,6 @@ DEBUG = True
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
|
|
||||||
CORS_ORIGIN_WHITELIST = [
|
CORS_ORIGIN_WHITELIST = [
|
||||||
"""
|
|
||||||
TODO - Implement a proper CORS whitelist strategy here.
|
|
||||||
|
|
||||||
- The CORS headers should be set per-application and not hard-coded into settings.py
|
|
||||||
- Provide an external settings.yaml file which defines extra options
|
|
||||||
- Then the site admin can adjust these without touching tracked files
|
|
||||||
"""
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue