Skip to content

Commit 6e6c67c

Browse files
committed
oops, require the 'https' in current dir
1 parent 691611e commit 6e6c67c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ switch(cmd){
1313
if(argv.port) route += '/' + argv.port;
1414

1515
if(argv.domain.endsWith('.clive.io'))
16-
require('https').add(argv.domain.substr(0,-9));
16+
require('./https').add(argv.domain.substr(0,-9))
1717
.then(()=>{console.log("Successfully added HTTPS to " + argv.domain.substr(0,-9) + ".clive.io");})
1818
.catch((err)=>{console.log("HTTPS addition failed, perhaps it's already registered?", err);});
1919
}else{

0 commit comments

Comments
 (0)