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

[Other]: <The server changes IP, some pictures seem to be saved with complete URLs> #2843

Open
zxcdydy opened this issue Nov 7, 2024 · 3 comments
Labels
other Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@zxcdydy
Copy link

zxcdydy commented Nov 7, 2024

What would you like to share?

服务器换IP,某些图片存的好像是完整的url,能否把存储的url都统一成根据前端配置或者实际访问的(IP或域名)+图片的相对路由

Additional information

希望能回复

@zxcdydy zxcdydy added the other Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 7, 2024
@OpenIM-Robot OpenIM-Robot changed the title [Other]: <服务器换IP,某些图片存的好像是完整的url> [Other]: <The server changes IP, some pictures seem to be saved with complete URLs> Nov 7, 2024
@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


What would you like to share?

The server changes the IP. Some pictures seem to be stored as complete URLs. Can the stored URLs be unified into the relative route of the pictures based on the front-end configuration or actual access (IP or domain name) + pictures?

Additional information

Hope you can reply

@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@skiffer-git
Copy link
Member

There are two solutions:

  1. Use S3 cloud storage.
  2. Use Nginx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants