GitHub user dosubot[bot] added a comment to the discussion: Superset的嵌入SDK文档允许的域名存储在哪里了
<!-- Answer -->
Superset嵌入SDK允许的域名一般存储在后端配置中,比如 superset_config.py 文件里的 ALLOWED_DOMAINS 或
ALLOWED_EMBEDDING_DOMAINS 变量,也可以通过环境变量设置。前端 UI 通过 API(如
/api/v1/dashboard/{dashboardId}/embedded)读取这些配置。如果你在 UI
里看到的域名输入框是灰色不可编辑,说明这些域名是通过后端配置文件或环境变量管理的,不能直接在前端修改。详细说明可参考[相关讨论](https://github.com/apache/superset/issues/35328)。
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/1ce78f5b-af30-44b1-a921-3d8c0d36b0f4?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35899)
GitHub link:
https://github.com/apache/superset/discussions/35899#discussioncomment-14822046
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
