43
Views
3
Comments
[pdfJS Viewer Reactive] PDF File from Azure Blob
pdfjs-viewer-reactive
Reactive icon
Forge asset by Eduardo Jauch
Application Type
Reactive

I am trying to display PDF using the Azure Blob URL like following.

https://StorageAccountName.blob.core.windows.net/ContainerName/0197a8cc-e79a-441f-bcb7-5f49dd100bf2/file.pdf?sp=r&st=2023-05-10T03:26:45Z&se=2023-05-12T11:26:45Z&spr=https&sv=2022-11-02&sr=b&sig=7ZFZnjssyh%2FrMjIXgl4UjGugwLl%2F2mY%2Fsf4zwSnMCk8%3D

I have also set the AllowedHostsList Variable to:

https://StorageAccountName.blob.core.windows.net

Still getting the following error.



I am able to access the pdf using Azure Blob URL in browser, so no restriction on Azure side.


Kindly guide what am I missing?

2019-04-11 20-46-12
Waqas Rehman

I have also tried to set the AllowedHostsList Variable to:

StorageAccountName.blob.core.windows.net

Still facing same issue

UserImage.jpg
Ankit Kumar Varshney

I am also facing same issue and looking for a solution 

2026-02-09 13-49-18
Jan-Wilfried Van der Plaats

Same issue's here using GCP. 
it seems like the changes i made in the AllowedHostList aren't being reflected in app.js

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.