Skip to content

Commit

Permalink
show correct server port
Browse files Browse the repository at this point in the history
  • Loading branch information
cogentapps committed Jul 4, 2023
1 parent b68ed73 commit 42ad5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default class ChatServer {

try {
const callback = (https = false) => {
console.log(`Open ${config.publicSiteURL || `http${https ? 's' : ''}://localhost:3000`} in your browser.`);
console.log(`Open ${config.publicSiteURL || `http${https ? 's' : ''}://localhost:${port}`} in your browser.`);
};

if (config.tls?.key && config.tls?.cert) {
Expand Down

0 comments on commit 42ad5b3

Please sign in to comment.