Open linfan opened 2 years ago
使用如下json:
{ "Match": [ { "Uri": { "Prefix": "/" } } ], "corsPolicy": { "allowOrigins": [ { "exact": "*" } ], "allowCredentials": true, "allowHeaders": [ "app-key", "yizhou-j-token" ], "allowMethods": [ "GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS" ] } }
最后生成的配置
此段json未生效 "corsPolicy":{"allowOrigins":[{"exact":"*"}],缺失以下配置:
"corsPolicy":{"allowOrigins":[{"exact":"*"}]
allowOrigins: - exact: '*'
待升级istio sdk版本至v1beta1
v1beta1
使用如下json:
最后生成的配置
此段json未生效
"corsPolicy":{"allowOrigins":[{"exact":"*"}]
,缺失以下配置: