PDFViewer with dynamic URL (returned from custom function) causes CORS issue.
It shows following URL in the developer console
Access to XMLHttpRequest at '<Sample PDF URL>' from origin 'https://ff-debug-service-frontend-ygxkweukma-uc.a.run.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
While the same PDF URL (Actual URL ) configured in the network path works fine.
Thanks
Harshad