We have an office-js Word add-in which has HTML and JS assets. Prior to today, the add-in worked fine. Now for some users, the js asset is responding with content of the HTML asset. The js asset is served from a url like https://example.com/path/taskpane.html and the js asset is served from https://example.com/path/js-asset~vendor.js.
I used Windows F12 to inspect what the embedded IE received from the JS asset URL, and it matches what the HTML asset's URL returns.
Our webserver is behind an nginx instance.
Notably, this issue doesn't occur in standalone/non-Office-embedded IE or Edge browsers.
The issue is resolved when restarting the user's computer, but not after restarting MS Word.
How might I fix this without asking all users to restart their machines?
2.1m questions
2.1m answers
60 comments
57.0k users