Echo data path on startup

This commit is contained in:
Ethan O'Brien 2024-07-03 12:28:57 -05:00
parent a5c5d356bf
commit 18c5524ce2
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ webui/node_modules/
webui/dist/ webui/dist/
Cargo.lock Cargo.lock
config.json config.json
docker/data/

View file

@ -233,6 +233,7 @@ async fn main() -> std::io::Result<()> {
).bind(("0.0.0.0", port))?.run(); ).bind(("0.0.0.0", port))?.run();
println!("Server started: http://0.0.0.0:{}", port); println!("Server started: http://0.0.0.0:{}", port);
println!("Data path is set to {}", args.path);
if args.https { if args.https {
println!("Note: gree is set to https mode. http requests will fail on jp clients."); println!("Note: gree is set to https mode. http requests will fail on jp clients.");
} }