-
Notifications
You must be signed in to change notification settings - Fork 391
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
使用DALL-E插件时图片无法显示 #24
Comments
直接请求 /api/file/xxxx.png 这个路由(图片换成已经上传的),然后看下请求日志中有没有错误信息。 |
Directly request the route /api/file/xxxx.png (replace the image with the one that has been uploaded), and then check whether there is any error message in the request log. |
同样的问题,好像S3的域是访问不了不对外的,配了个R2.dev 子域或者自定义域就可以用这两个域名访问 |
I have the same problem. It seems that the S3 domain cannot be accessed externally. If I configure an R2.dev subdomain or a custom domain, I can use these two domain names to access it. |
看了下确实是图片跨域不对外访问的问题,可以加个图片域配置,S3域是不对外访问,并且直接访问那个图片返回的内容是 |
After looking at it, it is indeed a problem that the images are not accessible to the outside world across domains. You can add an image domain configuration. The S3 domain is not accessible to the outside world. |
这个是接口鉴权的问题导致的,目前已将该接口的鉴权移除了,更新到最新的主分支代码再尝试一下。 |
This is caused by an interface authentication problem. The authentication of this interface has been removed. Update to the latest main branch code and try again. |
使用DALL-E插件时图片无法显示,连续尝试几次都是如此,但是在R2中是有文件生成的
![image](https://private-user-images.githubusercontent.com/139939316/269202089-c3919f59-f418-4c6e-9e22-b5359d042f05.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzMzQ4NjYsIm5iZiI6MTcyMDMzNDU2NiwicGF0aCI6Ii8xMzk5MzkzMTYvMjY5MjAyMDg5LWMzOTE5ZjU5LWY0MTgtNGM2ZS05ZTIyLWI1MzU5ZDA0MmYwNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkN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9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.3gMK_x3rPS6el4SgZAbMLtfAk_Xz3awZHYLnx3GoZDk)
The text was updated successfully, but these errors were encountered: