Skip to content

Commit

Permalink
Merge pull request github#15820 from github/repo-sync
Browse files Browse the repository at this point in the history
repo sync
  • Loading branch information
Octomerger authored Feb 24, 2022
2 parents 82cafa0 + 886c81b commit 119a92e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-preview-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ permissions:

# This allows one deploy workflow to interrupt another
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label }}'
group: 'preview-env @ ${{ github.head_ref || github.run_id }}'
cancel-in-progress: true

jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/azure-preview-env-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
permissions:
contents: read

# This allows one deploy workflow to interrupt another
concurrency:
group: 'preview-env @ ${{ github.head_ref || github.run_id }}'
cancel-in-progress: true

jobs:
destory-azure-preview-env:
name: Destroy
Expand Down
2 changes: 1 addition & 1 deletion middleware/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const asyncMiddleware = (fn) => (req, res, next) => {
}

// The IP address that Fastly regards as the true client making the request w/ fallback to req.ip
morgan.token('client-ip', (req) => req.headers['Fastly-Client-IP'] || req.ip)
morgan.token('client-ip', (req) => req.headers['fastly-client-ip'] || req.ip)
const productionLogFormat = `:client-ip - ":method :url" :status - :response-time ms`

export default function (app) {
Expand Down

0 comments on commit 119a92e

Please sign in to comment.