Cors issue on pdfexpress

Access to fetch at ‘https://api.pdfjs.express/xfdf/merge’ from origin ‘[domain)’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

getting this error

// Process the file
const response = await fetch(‘https://api.pdfjs.express/xfdf/merge’, {
mode: ‘cors’,
method: ‘post’,
body: data
}).then(resp => resp.json());
const { url, key, id } = response;
console.log(url)
const mergedFileBlob = await fetch(url, {
headers: {
Authorization: key
}
}).then(resp => resp.blob())

Hello greg,

We have found the source of the issue and it has been resolved. Thank you for your patience!

Best regards,
Tyler