Support non-standard ports #118
@@ -18,7 +18,8 @@ export default function(opt) {
|
||||
const landingPage = opt.landing || 'https://localtunnel.github.io/www/';
|
||||
|
||||
function GetClientIdFromHostname(hostname) {
|
||||
return myTldjs.getSubdomain(hostname);
|
||||
const pieces = hostname.split(':');
|
||||
return myTldjs.getSubdomain(pieces[0]);
|
||||
}
|
||||
|
||||
const manager = new ClientManager(opt);
|
||||
|
||||
Reference in New Issue
Block a user