WIP Building out all features necessary for Let's Encrypt #6
|
@ -11,7 +11,7 @@ var nameservers = require('dns').getServers();
|
|||
var index = crypto.randomBytes(2).readUInt16BE(0) % nameservers.length;
|
||||
var nameserver = nameservers[index];
|
||||
|
||||
app.use('/', express.static('./'));
|
||||
app.use('/', express.static(__dirname));
|
||||
app.use('/api', express.json());
|
||||
app.get('/api/dns/:domain', function (req, res, next) {
|
||||
var domain = req.params.domain;
|
||||
|
|
Loading…
Reference in New Issue