File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -174,6 +174,8 @@ function createTermBeamServer(overrides = {}) {
174174 const gn = '\x1b[38;5;114m' ; // green
175175 const dm = '\x1b[2m' ; // dim
176176
177+ const bl = '\x1b[38;5;75m' ; // light blue
178+
177179 let publicUrl = null ;
178180 if ( config . useTunnel ) {
179181 const tunnel = await startTunnel ( config . port , {
@@ -199,7 +201,6 @@ function createTermBeamServer(overrides = {}) {
199201 console . log ( '' ) ;
200202
201203 if ( publicUrl ) {
202- const bl = '\x1b[34m' ; // blue
203204 console . log ( ` Public: ${ bl } ${ publicUrl } ${ rs } ` ) ;
204205 }
205206 console . log ( ` Local: http://localhost:${ config . port } ` ) ;
@@ -211,16 +212,14 @@ function createTermBeamServer(overrides = {}) {
211212 const qrDisplayUrl = qrUrl ; // clean URL shown in console text
212213 const qrCodeUrl = config . password ? `${ qrUrl } ?ott=${ auth . generateShareToken ( ) } ` : qrUrl ;
213214 console . log ( '' ) ;
214- console . log ( ` ${ dm } 📋 Clipboard requires HTTPS — use the Public or localhost URL${ rs } ` ) ;
215- console . log ( '' ) ;
216215 try {
217216 const qr = await QRCode . toString ( qrCodeUrl , { type : 'terminal' , small : true } ) ;
218217 console . log ( qr ) ;
219218 } catch {
220219 /* ignore */
221220 }
222221
223- console . log ( ` Scan the QR code or open: ${ qrDisplayUrl } ` ) ;
222+ console . log ( ` Scan the QR code or open: ${ bl } ${ qrDisplayUrl } ${ rs } ` ) ;
224223 if ( config . password ) console . log ( ` Password: ${ gn } ${ config . password } ${ rs } ` ) ;
225224 console . log ( '' ) ;
226225
You can’t perform that action at this time.
0 commit comments