This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var ldap = require('ldapjs'); | |
var log4js = require('log4js'); | |
var GitHubApi = require("github").GitHubApi; | |
///--- Globals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Docs/etc. | |
server.get(null, '/', function(request, response, next) { | |
response.send(302, null, { | |
Location: config.siteName + '/docs' | |
}); | |
return next(); | |
}, log.w3c); | |
server.get(null, '/docs', function(req, res, next) { |
OlderNewer