question: at present, what images are stored in mongodb is only a relative drive, so how to provide a complete image path to the server when returning to the front end?
in the database:
/products/img1.png
actual returned data:
http://xxx.xxx.xxx.xxx:8000/images/products/img1.png
requirement: the client can access the image directly according to the path.