我无法在生产模式下获取我的API路由,并收到错误消息
VM15:1 GET https://movies-words-ts-86xlkq6rp.vercel.app/api/movies/tt5052448/words 502
Uncaught (in promise) Error: Request failed with status code 502
at LYNF.e.exports (fcae4559c849ad3f0939b7cca63449d545e4627d.d32ee7ae9c5841de2d98.js:1)
at Rn+g.e.exports (fcae4559c849ad3f0939b7cca63449d545e4627d.d32ee7ae9c5841de2d98.js:1)
at XMLHttpRequest.p.onreadystatechange (fcae4559c849ad3f0939b7cca63449d545e4627d.d32ee7ae9c5841de2d98.js:1)
尽管在开发模式下一切正常,但一切正常。
我呼叫路线的代码dict.tsx