Skip to content

Commit 7202c55

Browse files
author
nicola
committed
require HTTPS with idp on
1 parent 777f496 commit 7202c55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/create-server.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ function createServer(argv) {
2323
debug.settings('mount: ' + mount);
2424
var server = http.createServer(app);
2525

26-
if (ldp && (ldp.webid || argv.key || argv.cert) ) {
26+
if (ldp && (ldp.webid || ldp.idp || argv.key || argv.cert)) {
2727
debug.settings("SSL Private Key path: " + argv.key);
2828
debug.settings("SSL Certificate path: " + argv.cert);
2929

3030
if (!argv.cert && !argv.key) {
31-
throw new Error("Missing SSL cert and SSL key to enable WebID");
31+
throw new Error("Missing SSL cert and SSL key to enable WebIDs");
3232
}
3333

3434
if (!argv.key && argv.cert) {

0 commit comments

Comments
 (0)