- nebula 版本:nebula studio 3.0
- 问题的具体描述
下载了Studio源码,想利用iframe方式嵌入到其他项目中,嵌入时报错,Refused to display ‘http://localhost:7001/’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’. 发现agent_config.json 和 application_config.json 中有 “xframe”: {
“enable”: true,
“value”: “SAMEORIGIN”
},
“xframe”: {
“enable”: true,
“value”: “SAMEORIGIN”,
“matching”: “”
},
我该如何修改相关配置
能提供下修改这些配置文件是路径吗?
我找到了 是egg-security包里 默认加载的配置,我将egg-security的文件修改了,问题解决了
1 个赞
如果问题解决了,你可以勾选自己的回复为解决方案哈~
此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。