fix: change local https to http
This commit is contained in:
1 parent
b642dcd739
commit
f57dc5212b
1 file changed
+8
-2
+8
-2
@@ -427,7 +427,7 @@ fn print_console_info(port: u16, config: &CrateConfig, changed: Vec<PathBuf>) {
|
|||||||
}
|
}
|
||||||
println!(
|
println!(
|
||||||
"\t> Local : {}",
|
"\t> Local : {}",
|
||||||
format!("https://localhost:{}/", port).blue()
|
format!("http://localhost:{}/", port).blue()
|
||||||
);
|
);
|
||||||
println!(
|
println!(
|
||||||
"\t> NetWork : {}",
|
"\t> NetWork : {}",
|
||||||
@@ -444,8 +444,14 @@ fn print_console_info(port: u16, config: &CrateConfig, changed: Vec<PathBuf>) {
|
|||||||
println!("\t> Enabled Tools : {}", tools_str.yellow());
|
println!("\t> Enabled Tools : {}", tools_str.yellow());
|
||||||
println!("\t> Index Template : {}", custom_html_file.green());
|
println!("\t> Index Template : {}", custom_html_file.green());
|
||||||
println!("\t> URL Rewrite [index_on_404] : {}", url_rewrite.purple());
|
println!("\t> URL Rewrite [index_on_404] : {}", url_rewrite.purple());
|
||||||
|
println!("");
|
||||||
|
|
||||||
|
if changed.len() <= 0 {
|
||||||
|
log::info!("{}", "Server startup completed.".green().bold());
|
||||||
|
} else {
|
||||||
|
log::info!("{}", "Project rebuild completed.".green().bold());
|
||||||
|
}
|
||||||
|
|
||||||
println!("\n{}\n", "Server startup completed.".green().bold());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_ip() -> Option<String> {
|
fn get_ip() -> Option<String> {
|
||||||
|
|||||||
Reference in new issue
Block a user