Skip to content

Commit

Permalink
* Only run CodeQL in NS repo (nightscout#6873)
Browse files Browse the repository at this point in the history
* Fix server.js location for Azure
  • Loading branch information
sulkaharo authored and arnaudlimbourg committed Jul 4, 2021
1 parent 402211d commit d8d4964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit d8d4964

Please sign in to comment.