summaryrefslogtreecommitdiff
path: root/lib/response.js
diff options
context:
space:
mode:
authorJason Croft2016-05-09 18:31:49 -0400
committerJason Croft2016-05-11 21:02:53 -0400
commita3876dfc9292cb8d96d00c045ef2bb1a517a85a5 (patch)
tree26ad2149374ee92e4ef1ba523b09dbe398a84091 /lib/response.js
parent4aa4e3eacc36ae54c49ac94cf40594f33c4d9b1d (diff)
Start extending to support GitLab authentication.
Add necessary dependency. Add baseURL parameter for self-hosted GitLab Add necessary require. Add block for GitLab auth. Fix typo Update font-awesome dependency for GitLab icon. Use a color closer to GitLab orange. More direct TODO
Diffstat (limited to 'lib/response.js')
-rw-r--r--lib/response.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/response.js b/lib/response.js
index 7a75e234..2114c99b 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -94,6 +94,7 @@ function showIndex(req, res, next) {
facebook: config.facebook,
twitter: config.twitter,
github: config.github,
+ gitlab: config.gitlab,
dropbox: config.dropbox,
});
res.write(content);
@@ -124,6 +125,7 @@ function responseHackMD(res, note) {
facebook: config.facebook,
twitter: config.twitter,
github: config.github,
+ gitlab: config.gitlab,
dropbox: config.dropbox,
});
var buf = html;