show correct server port

main
cogentapps 2023-07-04 20:14:25 +00:00
parent b68ed735db
commit 42ad5b3e3b
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ export default class ChatServer {
try { try {
const callback = (https = false) => { 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) { if (config.tls?.key && config.tls?.cert) {