mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
- Ref: https://github.com/inventree/inventree-order-history/issues/17#issuecomment-2591275055 (cherry picked from commit 5de65891c387490f6c272e9a9ee71b078dc31e5d) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
a0d6ae2a54
commit
7140ea8f43
@ -1270,7 +1270,7 @@ CORS_ALLOW_CREDENTIALS = get_boolean_setting(
|
||||
)
|
||||
|
||||
# Only allow CORS access to the following URL endpoints
|
||||
CORS_URLS_REGEX = r'^/(api|auth|media|static)/.*$'
|
||||
CORS_URLS_REGEX = r'^/(api|auth|media|plugin|static)/.*$'
|
||||
|
||||
CORS_ALLOWED_ORIGINS = get_setting(
|
||||
'INVENTREE_CORS_ORIGIN_WHITELIST',
|
||||
|
Loading…
x
Reference in New Issue
Block a user