Skip to content

Commit 7b88d3d

Browse files
authored
Add reo to CSP script src headers (#4134)
1 parent 39f0e07 commit 7b88d3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/zenml/constants.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,10 @@ def handle_int_env_var(var: str, default: int = 0) -> int:
321321
)
322322
DEFAULT_ZENML_SERVER_SECURE_HEADERS_XFO = "SAMEORIGIN"
323323
DEFAULT_ZENML_SERVER_SECURE_HEADERS_CONTENT = "nosniff"
324-
_csp_script_src_urls = ["https://widgets-v3.featureos.app"]
324+
_csp_script_src_urls = [
325+
"https://widgets-v3.featureos.app",
326+
"https://static.reo.dev",
327+
]
325328
_csp_connect_src_urls = [
326329
# We need a wildcard here to allow the dashboard deployment playground
327330
# to send requests to deployments on any URL.

0 commit comments

Comments
 (0)