🚧 Añade constante PAGETOP_VERSION

This commit is contained in:
Manuel Cillero 2025-11-29 13:55:35 +01:00
parent bdfbd85c7b
commit e10c0f30c7
6 changed files with 72 additions and 18 deletions

View file

@ -6,7 +6,7 @@ use crate::core::{extension, extension::ExtensionRef};
use crate::html::Markup;
use crate::response::page::{ErrorPage, ResultPage};
use crate::service::HttpRequest;
use crate::{global, locale, service, trace};
use crate::{global, locale, service, trace, PAGETOP_VERSION};
use actix_session::config::{BrowserSession, PersistentSession, SessionLifecycle};
use actix_session::storage::CookieSessionStore;
@ -108,7 +108,7 @@ impl Application {
println!(
"{} {}\n",
"Powered by PageTop".yellow(),
env!("CARGO_PKG_VERSION").yellow()
PAGETOP_VERSION.yellow()
);
}
}