Support non-standard ports

Support non-standard ports
This commit is contained in:
Jacob Mather
2019-09-02 16:48:30 -04:00
committed by GitHub
parent 78c06f8fc4
commit beb1d85245
+2 -1
View File
@@ -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);