[英]API Manager 4.1.0 Dynamic value for accessControlAllowOrigins
Is it possible to use the params.yml file to define different accessControlAllowOrigins for environments as well as endpoints?是否可以使用 params.yml 文件为环境和端点定义不同的 accessControlAllowOrigins?
I want to define this for apis and api-products.我想为 apis 和 api-products 定义这个。
Thanks谢谢
At the moment CORs configs are not supported in the params.yaml.目前 CORs 配置在 params.yaml 中不受支持。 You can find the supported list here - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/advanced-topics/configuring-environment-specific-parameters/#defining-the-parameters-file-for-an-api
您可以在此处找到支持的列表 - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/api-controller/advanced-topics/configuring-environment-specific-parameters/#defining -API 的参数文件
You can define backend service endpoints in the params.yaml您可以在 params.yaml 中定义后端服务端点
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.