🚧 Añade constante PAGETOP_VERSION
This commit is contained in:
parent
4ac7caddd4
commit
0849d23e3f
6 changed files with 72 additions and 18 deletions
|
|
@ -105,7 +105,7 @@ impl Component for Intro {
|
|||
|
||||
fn setup_before_prepare(&mut self, cx: &mut Context) {
|
||||
cx.alter_assets(ContextOp::AddStyleSheet(
|
||||
StyleSheet::from("/css/intro.css").with_version(env!("CARGO_PKG_VERSION")),
|
||||
StyleSheet::from("/css/intro.css").with_version(PAGETOP_VERSION),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue