-
Notifications
You must be signed in to change notification settings - Fork 768
添加Api跨域配置信息的JSON配置节点支持 #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
您好,现在跨域策略的增加是通过继承MvcPack类,重写AddCors方法来实现,但是FunctionAuthorizationPackBase类又DependsOnPacks于MvcFunctionPack,而MvcFunctionPack依赖于MvcPack,导致冲突:如果自己继承MvcPack会导致底层初始化pack时将MvcPack替换掉,导致系统异常找不到MvcPack,请问目前有解决的方法吗? |
添加新接口 ICorsInitializer
DefaultCorsInitializer实现了一个常规的Cors初始化器
CorsOptions相应的配置选项类
配置选项类型
如果要自定义
|
您的功能请求与现有问题有关吗?请描述
现在跨域配置需要自己写代码实现,可以通过读取JSON配置信息来进行配置
The text was updated successfully, but these errors were encountered: