vue uses Ali OSS server signature to upload images, and obtains the required data and upload address through the backend. An error occurred when requesting this upload address, resulting in cross-domain problems. It is also configured on Ali, but this error still occurs. How to configure it? What else do you need to configure in the background?
this is a reported error:
POST https://lordray-pic.oss-cn-sh. 405 (Method Not Allowed)
Failed to load https://lordray-pic.oss-cn-sh.: No "Access-Control-Allow-Origin" header is present ont he requested resource. Origin" http://192.168.7.149:8090" is therefore not allowed access. The response had HTTP status code 405.