Fix build script not using $OUT_PATH

This commit is contained in:
Joscha 2023-08-07 02:21:32 +02:00
parent 794787a4be
commit 246cbf82cf
6 changed files with 55 additions and 29 deletions

View file

@ -7,7 +7,7 @@ use axum::{
use rust_embed::RustEmbed;
#[derive(RustEmbed)]
#[folder = "target/static"]
#[folder = "$OUT_DIR/static"]
pub struct StaticFiles;
pub struct StaticFile<T>(T);