Hi, I tried to give a web viewer path as an AWS link but the instance shows an error.
error message: viewer is on a different domain, the promise from webviewer function is rejected and api functions will not work because of cross domain permissions. see https://www.pdftron.com/kb_cross_origin for more information.
I’m already using the public access s3 bucket link in webviewer path and enabled cors also but I’m getting the same error in Catch Exception please check below image
Hi Parthi
So because the dependencies are hosted on a separate domain, you need to call WebViewer APIs from a Config file hosted on the same domain. For more information, see: