From 6242294a4c45f46bfee5d1588e67885f73d36cfb Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sun, 3 Nov 2024 13:47:30 +0100 Subject: Feat: Add docker --- src/handlers/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handlers') diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs index 9d5aa54..4a31909 100644 --- a/src/handlers/mod.rs +++ b/src/handlers/mod.rs @@ -26,7 +26,7 @@ pub async fn router(pool: SqlitePool) -> Router { .layer(middleware::from_fn(admin_middleware)) .route("/", get(home)) .route("/stories", get(build_page::)) - .nest_service("/static", ServeDir::new("src/static")) + .nest_service("/static", ServeDir::new("static")) .layer(DefaultBodyLimit::max(1074000000)) .layer(AddExtensionLayer::new(ApiContext { pool })) } -- cgit v1.2.3