繁体   English   中英

添加所有子域 CORS azure function

[英]Add all subdomains to CORS azure function

在我的 Azure function 中,我需要为我的mytestwebsite.com添加所有子域,

我正在尝试https://*.mytestwebsite.com但它说:

CORS 来源需要采用以下格式:[HTTP|HTTPS]://[www.]domain.[TLD][:portnumber]。 示例:http://example.com、https://example.com:8080

在此处输入图像描述

你不能这样做,CORS 规范是一切或什么都不是。 它仅支持 *、null 或精确域。

供参考: https://fetch.spec.whatwg.org/#access-control-allow-origin-response-header

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM