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

[Bug] gateway.ts 去掉 runtime 后报跨域错误 #22

Closed
mushan0x0 opened this issue Dec 30, 2023 · 4 comments
Closed

[Bug] gateway.ts 去掉 runtime 后报跨域错误 #22

mushan0x0 opened this issue Dec 30, 2023 · 4 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@mushan0x0
Copy link

💻 系统环境 | Operating System

macOS

🌐 浏览器 | Browser

Chrome

🐛 问题描述 | Bug Description

gateway.ts 已经去掉了,构建成功了,但是使用时报跨域错误

image

🚦 期望结果 | Expected Behavior

No response

📷 复现步骤 | Recurrence Steps

No response

📝 补充信息 | Additional Information

No response

@mushan0x0 mushan0x0 added the 🐛 Bug Something isn't working | 缺陷 label Dec 30, 2023
@lobehubbot
Copy link
Member

👀 @mushan0x0
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented Jan 1, 2024

线上版本不应该增加 gateway 字段

https://github.com/mushan0x0/lobe-pollinations-ai/blob/main/public/manifest.json#L24

,只有 dev 下才需要添加 gateway

@mushan0x0
Copy link
Author

ok 了

@lobehubbot
Copy link
Member

@mushan0x0


This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
None yet
Development

No branches or pull requests

3 participants