When using IIS to run Foxit PDF SDK for WEB, we may encounter some resource file parsing errors that lead to access failure. At this time, we need to configure the MIME type of IIS.
Let’s take Windows Server 2019 for example, here are the steps:
1. Open the Microsoft IIS management console, then select the local compute name, and click the MIME Types item.
2. Click New or Add button.
3. In the Extension box, type .wasm, and type application/wasm to the MIME type box.
And here are the common MIME types that need to be configured: