adde cors
This commit is contained in:
parent
2b02ef803b
commit
372e04309a
1
changelog.d/20240416_165758_fahad.khalid.md
Normal file
1
changelog.d/20240416_165758_fahad.khalid.md
Normal file
@ -0,0 +1 @@
|
||||
- [Improvement] Added CORS for embeded Dashboards. (by @Fahadkhalid210)
|
||||
@ -162,4 +162,13 @@ FEATURE_FLAGS = {
|
||||
"EMBEDDED_SUPERSET": True
|
||||
}
|
||||
|
||||
# Embedded Dashboard CORS
|
||||
ENABLE_CORS=True
|
||||
CORS_OPTIONS={
|
||||
"supports_credentials": True,
|
||||
"allow_headers": ["*"],
|
||||
"resources": ["*"],
|
||||
'origins': ["{{ LMS_HOST }}","{{ CMS_HOST }}"],
|
||||
}
|
||||
|
||||
{{ patch("cairn-superset-settings") }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user