13 lines
247 B
JavaScript
13 lines
247 B
JavaScript
|
'use strict';
|
||
|
|
||
|
//var le = require('letsencrypt-express');
|
||
|
var le = require('../');
|
||
|
var express = require('express');
|
||
|
var app = express();
|
||
|
|
||
|
app.use(function (req, res) {
|
||
|
res.send({ success: true });
|
||
|
});
|
||
|
|
||
|
le.create(app).listen([80], [443, 5001]);
|