Add root landing page support and package static assets

This commit is contained in:
thakares committed 2026-06-13 21:47:14 +05:30
1 parent 80038fb851
commit 42a2df33dd
5 files changed
+220 -179

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ use axum::{
pub fn create_router(state: AppState) -> Router {
Router::new()
// --- Root Landing Page ---
.route("/", get(pages::root_landing))
// --- Public Redirection Routes ---
.route("/:code", get(redirect::resolve_redirect))
.route("/p/:code", get(pages::resolve_page))