Created
October 5, 2022 15:11
-
-
Save mnakka9/60cb8183e47853cc3a3194a31146afeb to your computer and use it in GitHub Desktop.
Angular universal IIS Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <xml version="1.0" encoding="utf-8"> | |
| <configuration> | |
| <system.webServer> | |
| <handlers> | |
| <add name="iisnode" path="main.js" verb="*" modules="iisnode"/> | |
| </handlers> | |
| <rewrite> | |
| <rules> | |
| <rule name="DynamicContent"> | |
| <match url="/*" /> | |
| <action type="Rewrite" url="main.js"/> | |
| </rule> | |
| </rules> | |
| </rewrite> | |
| <customErrors mode="Off" /> | |
| <httpErrors errorMode="Detailed"></httpErrors> | |
| </system.webServer> | |
| </configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment