add landing page to argv

This commit is contained in:
Omar Aflak
2021-02-12 14:20:24 +01:00
parent 78c06f8fc4
commit 70b6d0a009
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export default function(opt) {
const validHosts = (opt.domain) ? [opt.domain] : undefined;
const myTldjs = tldjs.fromUserSettings({ validHosts });
const landingPage = opt.landing || 'https://localtunnel.github.io/www/';
const landingPage = opt.landing;
function GetClientIdFromHostname(hostname) {
return myTldjs.getSubdomain(hostname);