Fixed docker CI
All checks were successful
Publish Server Image / build-and-push-image (push) Successful in 2m12s

This commit is contained in:
Ultradesu
2026-03-17 19:03:48 +00:00
parent bfc0675f5a
commit 85b3cb6852
6 changed files with 27 additions and 16 deletions

View File

@@ -108,7 +108,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let svc = RemoteFileSystemServer::with_interceptor(remote_fs, auth.clone());
// Print startup info
println!("Furumi-ng Server v{} listening on {}", env!("CARGO_PKG_VERSION"), addr);
println!("Furumi-ng Server v{} listening on {}", option_env!("FURUMI_VERSION").unwrap_or(env!("CARGO_PKG_VERSION")), addr);
if args.no_tls {
println!("WARNING: TLS is DISABLED — traffic is unencrypted");
} else {

View File

@@ -61,6 +61,6 @@ async fn player_html(
) -> axum::response::Html<String> {
let html = include_str!("player.html")
.replace("<!-- USERNAME_PLACEHOLDER -->", &user_info.0)
.replace("<!-- VERSION_PLACEHOLDER -->", env!("CARGO_PKG_VERSION"));
.replace("<!-- VERSION_PLACEHOLDER -->", option_env!("FURUMI_VERSION").unwrap_or(env!("CARGO_PKG_VERSION")));
axum::response::Html(html)
}