You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Global IIS MIME Type Configuration Not Applied When Using iisnode #138
I have encountered an issue where configuring the MIME type for .webp images at the global IIS level doesn't seem to apply when my application is running via iisnode. However, adding the MIME type configuration to the project's web.config file solves the problem.
Steps to Reproduce:
Add .webp MIME type at the IIS server level.
Deploy a Next.js application using iisnode.
Try to access a .webp image through the browser.
Expected Behavior:
IIS should serve .webp images correctly based on the global MIME type configuration.
Actual Behavior:
IIS does not serve .webp images unless the MIME type is specified in the project's web.config file.
Workaround:
The issue can be resolved by adding the following to the web.config file within the project:
Activity