Skip to content

Commit f9527d4

Browse files
author
John McCambridge
committed
minor refactor
1 parent 84a30fa commit f9527d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class Entry extends Command {
235235
logger.warn("Launched without authentication.");
236236
}
237237

238-
const url = flags["allow-http"] ? `http://localhost:${flags.port}/` : `https://localhost:${flags.port}/`;
238+
const url = `http${flags["no-auth"] ? "s" : ""}://localhost:${flags.port}/`;;
239239
logger.info(" ");
240240
logger.info("Started (click the link below to open):");
241241
logger.info(url);

0 commit comments

Comments
 (0)