Skip to content

Commit c27a120

Browse files
committed
1 parent 048dde7 commit c27a120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type LocalTunnelOpts = {
2121
export default function(opt?: LocalTunnelOpts) {
2222
opt = opt || {};
2323

24-
const validHosts = (opt.domain) ? [opt.domain] : undefined;
24+
const validHosts = (opt.domain) ? [opt.domain] : ['localhost'];
2525
const myTldjs = tldjs.fromUserSettings({ validHosts });
2626
const landingPage = opt.landing || 'https://localtunnel.github.io/www/';
2727

0 commit comments

Comments
 (0)