Skip to content
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

视频播放端口CORS跨域资源共享,请问可以设置吗 #3509

Closed
1343228975 opened this issue May 6, 2024 · 3 comments
Closed

视频播放端口CORS跨域资源共享,请问可以设置吗 #3509

1343228975 opened this issue May 6, 2024 · 3 comments
Labels
不按模板提交 不规范issue直接关闭 信息不足

Comments

@1343228975
Copy link

现象描述

如何复现?

相关日志或截图

展开查看详细日志
日志内容...

配置

展开查看详细配置
配置内容...

各种环境信息

  • 代码提交记录/git commit hash:
  • 操作系统及版本:
  • 硬件信息:
  • 其他需要补充的信息:
@1343228975 1343228975 added the bug label May 6, 2024
@xiongguangjie xiongguangjie added 不按模板提交 不规范issue直接关闭 信息不足 and removed bug labels May 6, 2024
@xiongguangjie
Copy link
Member

默认就允许跨域的

@1343228975
Copy link
Author

allow_cross_domains=1
请问一下这个配置要怎么配置可以让它不允许跨域,或者限定某个地址
Access-Control-Allow-Origin中指定的来源只能是受信任的站点

@xiongguangjie
Copy link
Member

allow_cross_domains

设置为0 就不允许跨域了,如果要指定Access-Control-Allow-Origin的值,就需要二开了

@xia-chu xia-chu closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
不按模板提交 不规范issue直接关闭 信息不足
Projects
None yet
Development

No branches or pull requests

3 participants