Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error with import statement using IISnode on iis #678

Open
mayank30 opened this issue Aug 23, 2020 · 0 comments
Open

Getting Error with import statement using IISnode on iis #678

mayank30 opened this issue Aug 23, 2020 · 0 comments

Comments

@mayank30
Copy link

image

Here is my web.config
`

<rewrite>
  <rules>
   <rule name="NodeInspector" patternSyntax="ECMAScript" stopProcessing="true">
      <match url="^app.js\/debug[\/]?" />
    </rule>

    <rule name="LogFile" patternSyntax="ECMAScript" stopProcessing="true">
      <match url="iisnode"/>
    </rule>
    <rule name="myapp">
      <match url="/*" />
      <action type="Rewrite" url="app.js" />
    </rule>
  </rules>
</rewrite>
    <directoryBrowse enabled="false" />
    <defaultDocument>
        <files>
            <add value="app.js" />
        </files>
    </defaultDocument>

</system.webServer>

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant