diff options
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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::<DummyProduct>)) - .nest_service("/static", ServeDir::new("src/static")) + .nest_service("/static", ServeDir::new("static")) .layer(DefaultBodyLimit::max(1074000000)) .layer(AddExtensionLayer::new(ApiContext { pool })) } |
