• Hi,
    I’ve been trying to serve a PDF file through CDN but I can’t get this file to show unless I comment out this code:


    if (fileOrigin !== viewerOrigin) {
    throw new Error("file origin does not match viewer's");
    }

    I want to know if there is a proper way recommended by the author to bypass this issue.

    The page I need help with: [log in to see the link]

  • The topic ‘Serving file through a CDN’ is closed to new replies.