Skip to content

Commit

Permalink
chore: remove unnecessary fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 20, 2023
1 parent 9ec7d77 commit e66b82b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/listen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ export async function listen(

// Add localhost URL
if (_localhost || _anyhost) {
_addURL(
"local",
getURL(listhenOptions.hostname || "localhost", getURLOptions.baseURL),
);
_addURL("local", getURL(listhenOptions.hostname, getURLOptions.baseURL));
}

// Add tunnel URL
Expand Down

0 comments on commit e66b82b

Please sign in to comment.