新增允许所有跨域请求配置项 (#2449)

配置项为http.allow_cross_domains
This commit is contained in:
老衲不出家
2023-05-12 11:47:22 +08:00
committed by GitHub
parent 1136b0a3c0
commit f6ac39ade5
4 changed files with 13 additions and 2 deletions

View File

@@ -246,6 +246,8 @@ extern const std::string kDirMenu;
extern const std::string kForbidCacheSuffix;
// 可以把http代理前真实客户端ip放在http头中https://github.com/ZLMediaKit/ZLMediaKit/issues/1388
extern const std::string kForwardedIpHeader;
// 是否允许所有跨域请求
extern const std::string kAllowCrossDomains;
} // namespace Http
////////////SHELL配置///////////