Cross-domain problem of js request header

No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "null" is therefore not allowed access. The response had HTTP status code 400.

response.setHeader ("Access-Control-Allow-Origin", "*");
response.setHeader ("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");
response.setHeader ("Access-Control-Max-Age", "3600");
response.setHeader ("Access-Control-Allow-Headers", "Origin, Xcopyright Requestedhouse, Content-Type, Accept");

all settings to the * sign will not work either

Apr.02,2021

Please refer to " stop asking me cross-domain questions


you have to set the backend to * Ah


the backend is easy to change


from the current information, you can only guess that your request header origin is not set. Please check it. If it is set, please post it and update the question

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cc6a-2c34b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cc6a-2c34b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?