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

未知原因导致图片上传失败 #28

Closed
lanbinshijie opened this issue Apr 8, 2022 · 4 comments
Closed

未知原因导致图片上传失败 #28

lanbinshijie opened this issue Apr 8, 2022 · 4 comments
Labels
question Further information is requested

Comments

@lanbinshijie
Copy link

这个聊天所有的图片功能都失效了,包括头像和日常聊天的图片,请问是有什么需要设置的吗?这是我的调试截图
截图

@moonrailgun
Copy link
Contributor

麻烦确认一下是不是服务端环境变量配置不对。

需要在服务端对外暴露外部可访问的地址

API_URL=

默认是http://127.0.0.1:${port}

@moonrailgun moonrailgun added the question Further information is requested label Apr 8, 2022
@lanbinshijie
Copy link
Author

麻烦确认一下是不是服务端环境变量配置不对。

需要在服务端对外暴露外部可访问的地址

API_URL=

默认是http://127.0.0.1:${port}

抱歉,请问具体是怎么做呢?服务端的API已经可以访问了,消息发送也正常,只有图片功能失效。

@lanbinshijie
Copy link
Author

好的,感谢,我去试试

@lanbinshijie
Copy link
Author

搞定了,非常感谢,希望文档能够更详细一些!真的非常好用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants