1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2025-04-28 11:56:52 -05:00

chg: No need to print public uri with port when custom uri is passed

This commit is contained in:
Sayantan Santra 2025-04-21 12:51:00 -05:00
parent e8af830527
commit 21f76f2962
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -63,15 +63,9 @@ async fn main() -> Result<()> {
// Set the site_url without the quotes // Set the site_url without the quotes
env::set_var("site_url", url); env::set_var("site_url", url);
eprintln!("WARN: The site_url environment variable is encapsulated by quotes. Automatically adjusting to {}", url); eprintln!("WARN: The site_url environment variable is encapsulated by quotes. Automatically adjusting to {}", url);
// Tell the user what URI the server will respond with
eprintln!("INFO: Public URI is: {url}:{port}.")
} else { } else {
// No issues // No issues
eprintln!("INFO: Configured Site URL is: {site_url}."); eprintln!("INFO: Configured Site URL is: {site_url}.");
// Tell the user what URI the server will respond with
eprintln!("INFO: Public URI is: {site_url}:{port}.")
} }
} else { } else {
// Site URL is not configured // Site URL is not configured