From 976ea1e02ebd58ed94836baca9efc20bbc30ddc9 Mon Sep 17 00:00:00 2001 From: Edward Horsford Date: Tue, 5 Apr 2016 15:27:10 +0100 Subject: [PATCH] Fix broken url and typo --- docs/guides/publishing-on-heroku.md | 2 +- lib/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/publishing-on-heroku.md b/docs/guides/publishing-on-heroku.md index 34f970700e..a8ece709a3 100644 --- a/docs/guides/publishing-on-heroku.md +++ b/docs/guides/publishing-on-heroku.md @@ -40,7 +40,7 @@ heroku apps:create [NAME OF YOUR APP] --region eu ``` Replace `[name of your app]` with what you want to call your prototype. -## 5) Set a username and passwordg +## 5) Set a username and password By default, prototypes made with the kit require a username and password to be used when deployed on Heroku. diff --git a/lib/utils.js b/lib/utils.js index 9c1ab2f27f..61728d3b0c 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -21,7 +21,7 @@ exports.basicAuth = function(username, password) { if (!username || !password) { console.log('Username or password is not set.'); - return res.send('

Error:

Username or password not set. See guidance for setting these.

'); + return res.send('

Error:

Username or password not set. See guidance for setting these.

'); } var user = basicAuth(req);