翻译如下:
在这里插入图片描述
解决办法:跨域配置报错,将.allowedOrigins替换成.allowedOriginPatterns即可。
转载请注明出处:
未经允许不得转载:lxfamn » When allowCredentials is true, allowedOrigins cannot contain the special value \”*\”since that cannot be set on the \”Access-Control-Allow-Origin\” response header. To allow credentials to a set of origins, list them explicitly or consider using \”allowedOriginPatterns\