我注意到我在控制台中收到了一条错误消息:
Access to XMLHttpRequest at 'https://lyg8hs82.apicdn.sanity.io/v2022-02-01/data/query=*%5B_type%20%3D%3D%20%22works%22%5D' from origin 'http://localhost:3001' has been blocked by CORSprocess.env.RE
sp=racwdli&st=2022-07-18T02:50:01Z&se=2022-07-30T10:50:01Z&spr=https&sv=2021-06-08&sr=c&sig=i0xaDxZ2jA5WA68Vh89B5tIlYJaDS4WWlgKQ%2F9kUUrs%3D"; // URL with SAS token try {
let resp ="