Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #498 from Financial-Times/use-correct-auth-header-…
Browse files Browse the repository at this point in the history
…name

Use correct header name for backend key
  • Loading branch information
adgad authored Feb 20, 2018
2 parents 701b3a4 + e4bea0f commit 4b6bb44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If this app has no web process use the --skip-gtg option`);
}
const smokeTest = new SmokeTest({
host: host.url(name),
headers: opts.authenticatedSmokeTests ? { 'FT_NEXT_BACKEND_KEY': process.env.FT_NEXT_BACKEND_KEY } : null
headers: opts.authenticatedSmokeTests ? { 'FT-NEXT-BACKEND-KEY': process.env.FT_NEXT_BACKEND_KEY } : null
});

smokeTest.addCheck('cacheHeaders', require('../lib/verify-cache-headers'));
Expand Down
2 changes: 1 addition & 1 deletion tasks/smoke.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (program) {
.action(function (app, opts) {
const smoke = new SmokeTest({
host: host.url(app),
headers: opts.auth ? { 'FT_NEXT_BACKEND_KEY': process.env.FT_NEXT_BACKEND_KEY } : null
headers: opts.auth ? { 'FT-NEXT-BACKEND-KEY': process.env.FT_NEXT_BACKEND_KEY } : null
});
smoke.run();
});
Expand Down

0 comments on commit 4b6bb44

Please sign in to comment.