* Only run CodeQL in NS repo (#6873)

* Fix server.js location for Azure
This commit is contained in:
Sulka Haro
2021-02-15 09:06:52 +02:00
committed by GitHub
parent 3cd149fc52
commit 3d3a8ffc33
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -25,6 +25,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout'
strategy:
fail-fast: false
+2 -2
View File
@@ -4,7 +4,7 @@
<!-- Counter-intuitively this needs to be FALSE so IIS can let go of websockets and node can take over. -->
<webSocket enabled="false" />
<handlers>
<add name="iisnode" path="server.js" verb="*" modules="iisnode"/>
<add name="iisnode" path="lib/server/server.js" verb="*" modules="iisnode"/>
</handlers>
<rewrite>
<rules>
@@ -26,7 +26,7 @@
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="True"/>
</conditions>
<action type="Rewrite" url="server.js"/>
<action type="Rewrite" url="lib/server/server.js"/>
</rule>
</rules>
</rewrite>