Skip to content

Commit

Permalink
more not found documents
Browse files Browse the repository at this point in the history
  • Loading branch information
amitu committed Dec 20, 2024
1 parent b876594 commit 9f95ca9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v0.5/fastn-router/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ pub enum Route {
// String contains the path, the data may contain more than that was passed to route, e.g., it
// can extract some extra path-specific data from FASTN.ftd file
Document(Document),
Wasm(String),
Wasm((String, Document)),
Redirect(String),
Static(String),
/// we return the not found document as well in case the static file is missing
Static((String, Document)),
}

#[derive(Debug)]
Expand Down

0 comments on commit 9f95ca9

Please sign in to comment.