@@ -6,7 +6,6 @@ use std::sync::Arc;
66
77use crate :: app:: Liwan ;
88use crate :: app:: models:: Event ;
9- use crate :: cli:: { bold, underline, white} ;
109use crossbeam_channel:: Sender ;
1110use routes:: { dashboard_service, event_service} ;
1211use webext:: { EmbeddedFilesEndpoint , PoemErrExt , catch_error} ;
@@ -96,14 +95,13 @@ pub async fn start_webserver(app: Arc<Liwan>, events: Sender<Event>) -> Result<(
9695
9796 match app. onboarding . token ( ) ? {
9897 Some ( onboarding) => {
99- let get_started = bold ( & format ! ( "{}/setup?t={}" , app. config. base_url, onboarding) ) ;
100- let command = bold ( "liwan --help" ) ;
101- tracing:: info!( "{}" , white( "It looks like you're running Liwan for the first time!" ) ) ;
102- tracing:: info!( "{}" , white( & format!( "You can get started by visiting: {get_started}" ) ) ) ;
103- tracing:: info!( "{}" , white( & format!( "To see all available commands, run `{command}`" ) ) ) ;
98+ let get_started = format ! ( "{}/setup?t={}" , app. config. base_url, onboarding) ;
99+ tracing:: info!( "It looks like you're running Liwan for the first time!" ) ;
100+ tracing:: info!( "You can get started by visiting: {get_started}" ) ;
101+ tracing:: info!( "To see all available commands, run `liwan --help`" ) ;
104102 }
105103 _ => {
106- tracing:: info!( "{} {}" , white ( " Liwan is running on " ) , underline ( & app. config. base_url) ) ;
104+ tracing:: info!( "Liwan is running on {}" , app. config. base_url) ;
107105 }
108106 }
109107
0 commit comments