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