added stuff for letsencrypt
This commit is contained in:
parent
9b46955f96
commit
76e3662034
2
app.js
2
app.js
@ -51,7 +51,7 @@ app.all('/*', (req, res, next) => {
|
|||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
||||||
app.use('/.well-known', express.static('.well-known'));
|
app.use('/.well-known/acme-challenge', express.static('.well-known'));
|
||||||
|
|
||||||
app.get('/', function(req, res) {
|
app.get('/', function(req, res) {
|
||||||
res.sendFile(path.join(__dirname, indexView));
|
res.sendFile(path.join(__dirname, indexView));
|
||||||
|
Loading…
Reference in New Issue
Block a user