|
|
Sergey Kornilov admin 12/15/2025 |
|
This can be HTTP vs HTTPS issue when you website runs behind a reverse proxy. You need to post a full-page screenshot, so the complete URL is visible, without cropping. |
|
|
G
|
George Kondylis author 12/16/2025 |
|
Does that work ?
|
|
|
|
Sergey Kornilov admin 12/16/2025 |
|
I can see that the error is different now. What has changed? In either case, this last error means your web server is not configured .mjs files. Make sure that MIME type is configured properly on the server. |
|
|
G
|
George Kondylis author 12/16/2025 |
|
This is the same server I am using for all my projects. That same project when built in 10.9 worked fine. I only encountered that issue when migrating on v11. I will try see if I can configure that on the server. I am using Azure web app. Thank you |
|
|
|
Sergey Kornilov admin 12/16/2025 |
|
It is definitely not the same server as the error is different. This first error is coming from viewer.mjs file and refers to HTTP vs HTTPS inconsistency. The second error says that browser cannot even load viewer.mjs as MIME is not configured. Just check the error messages, totally different. |
|
|
G
|
George Kondylis author 12/16/2025 |
|
The first screenshot is from the local build, and the second is from the published version. My point is that the same project works perfectly in version 10.9, both locally and when published. However, after migrating to version 11, the error occurs. |
|
|
|
Sergey Kornilov admin 12/17/2025 |
|
We have updated PDF viewer recently, the older version had vulnerability issues. Their latest version uses .mjs files instead of .js. So, your web server needs to be configured to serve .mjs files. |
|