Skip to content

Commit

Permalink
serve assets dir directly
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Nov 26, 2024
1 parent 5589cfd commit 9bd357c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kitsune/src/http/handler/public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use rust_embed::RustEmbed;
use std::borrow::Cow;

#[derive(RustEmbed)]
#[folder = "assets-dist"]
#[exclude = "*.scss"]
#[folder = "assets"]
struct AssetsDir;

#[allow(clippy::unused_async)]
Expand Down

0 comments on commit 9bd357c

Please sign in to comment.