From b7f195fc6fa92c5b84f7cf1d6e68fdc5f2054b15 Mon Sep 17 00:00:00 2001 From: aumetra Date: Tue, 26 Nov 2024 23:10:36 +0100 Subject: [PATCH] serve assets dir directly --- kitsune/src/http/handler/public.rs | 3 +-- pnpm-lock.yaml | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/kitsune/src/http/handler/public.rs b/kitsune/src/http/handler/public.rs index 23daf3a21..129c732f3 100644 --- a/kitsune/src/http/handler/public.rs +++ b/kitsune/src/http/handler/public.rs @@ -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)] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0df3d0682..eefc595e2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,9 +17,6 @@ importers: '@trivago/prettier-plugin-sort-imports': specifier: ^4.3.0 version: 4.3.0(prettier@3.4.1) - autoprefixer: - specifier: ^10.4.20 - version: 10.4.20(postcss@8.4.49) prettier: specifier: ^3.4.1 version: 3.4.1