mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Don't load eveything, only src
This commit is contained in:
parent
a04baa3935
commit
0fc2afb396
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ const ASSET_EXTENSIONS: &[&str] = &[".js", ".css", ".woff2", ".gif"];
|
|||
static ASSETS: LazyLock<HashMap<String, Bytes>> = LazyLock::new(|| {
|
||||
let mut assets = HashMap::new();
|
||||
|
||||
for file in embed::dir!("../..").flatten() {
|
||||
for file in embed::dir!("..").flatten() {
|
||||
let path = Path::new(file.path().as_ref())
|
||||
.file_name()
|
||||
.unwrap()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue