I am using the url-metadata in my nextjs app at pages/api/getmetadata.js
everything works perfect on my localhost, but if i deploy it to vercel its giving me a 405 Error in the console.log
Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
is it a CORS problem? or a request header problem? is there a way to modify the request to not get the 405 error? or is the 405 Error not due to those things?
I am using the url-metadata in my nextjs app at pages/api/getmetadata.js everything works perfect on my localhost, but if i deploy it to vercel its giving me a 405 Error in the console.log
Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
is it a CORS problem? or a request header problem? is there a way to modify the request to not get the 405 error? or is the 405 Error not due to those things?