This commit is contained in:
William Fu-Hinthorn
2025-03-07 10:49:59 -08:00
parent ecdf70a2ab
commit 656737009b
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ class CorsConfig(TypedDict, total=False):
allow_origin_regex: str
"""Optional. A regex pattern for matching allowed origins, used if you have dynamic subdomains.
Example: "^https://.*\.mycompany\.com$"
Example: "^https://\\.*\\.mycompany\\.com$"
"""
expose_headers: list[str]
"""Optional. List of headers that browsers are allowed to read from the response in cross-origin contexts."""