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

使用docker 安装的NebulaGraph Studio,然后iframe嵌入此登录地址,火狐可以,但是谷歌报错named cookie not present. -------nebula studio 版本: v3.10.0 #814

Open
hanyuanzhong opened this issue Feb 6, 2025 · 0 comments

Comments

@hanyuanzhong
Copy link

hanyuanzhong commented Feb 6, 2025

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

<iframe src="[iframeSrc](http://172.20.10.5:7001)" width="600" height="450" title="Iframe Demo"></iframe>

Image

Image

使用docker-compose安装 NebulaGraph 和 NebulaGraph Studio
然后通过浏览器 http://ip:7001可以正常访问,然后将此地址通过iframe嵌入到vue的页面中,火狐可以连接,但是谷歌浏览器报coikie错误,要怎么设置docker-compose的环境变量,
或者
进入容器内部,修改/app/etc/studio-api.yaml
将CorsOrigins: ,改为 CorsOrigins: [“*”]之后,直接访问和通过iframe访问都不可以了

我要改什么值能够解决这个跨域的问题呢

@hanyuanzhong hanyuanzhong changed the title Whether the nebula-graph-studio address can be embedded in the iframe Whether the nebula-graph-studio address can be embedded in the iframe. -------nebula studio version: v3.10.0 Feb 6, 2025
@hanyuanzhong hanyuanzhong changed the title Whether the nebula-graph-studio address can be embedded in the iframe. -------nebula studio version: v3.10.0 使用docker 安装的NebulaGraph Studio,然后iframe嵌入此登录地址,火狐可以,但是谷歌报错named cookie not present. -------nebula studio 版本: v3.10.0 Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant