From 8f6fbacede44a7b569cb0c0fae94d63d8dc99cd4 Mon Sep 17 00:00:00 2001 From: oddgrd <29732646+oddgrd@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:44:03 +0100 Subject: [PATCH] chore: remove static folder page --- mint.json | 1 - resources/shuttle-static-folder.mdx | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 resources/shuttle-static-folder.mdx diff --git a/mint.json b/mint.json index 8a74ec1..c278eda 100644 --- a/mint.json +++ b/mint.json @@ -86,7 +86,6 @@ }, "resources/shuttle-secrets", "resources/shuttle-metadata", - "resources/shuttle-static-folder", "resources/custom-resources" ] }, diff --git a/resources/shuttle-static-folder.mdx b/resources/shuttle-static-folder.mdx deleted file mode 100644 index 6c39479..0000000 --- a/resources/shuttle-static-folder.mdx +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: 'Shuttle Static Folder' ---- - -{/* TODO: Remove this page when it has aged a bit */} - -`shuttle-static-folder` has been deprecated. -Deployed files are now located where you expect them to be. -Now, you can simply use the path relative to the workspace root. - -```rust -#[shuttle_runtime::main] -async fn axum() -> shuttle_axum::ShuttleAxum { - let router = Router::new() - .nest_service("/assets", ServeDir::new("assets")); - // ... -} -```