🐛 Corrige localización de archivos estáticos

This commit is contained in:
Manuel Cillero 2024-12-07 08:57:49 +01:00
parent 3caadfe026
commit b8ea19ad4f
5 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<div align="center">
<img src="https://raw.githubusercontent.com/manuelcillero/pagetop/main/static/banner.png" />
<img src="https://raw.githubusercontent.com/manuelcillero/pagetop/main/tools/banner.png" />
<h1>PageTop</h1>

View file

@ -1,7 +1,7 @@
use pagetop_build::StaticFilesBundle;
fn main() -> std::io::Result<()> {
StaticFilesBundle::from_dir("../static", None)
StaticFilesBundle::from_dir("./static", None)
.with_name("assets")
.build()
}

View file

@ -1,6 +1,6 @@
//! <div align="center">
//!
//! <img src="https://raw.githubusercontent.com/manuelcillero/pagetop/main/static/banner.png" />
//! <img src="https://raw.githubusercontent.com/manuelcillero/pagetop/main/tools/banner.png" />
//!
//! <h1>PageTop</h1>
//!

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Before After
Before After