diff options
Diffstat (limited to 'adenosine-pds/src/web.rs')
-rw-r--r-- | adenosine-pds/src/web.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/adenosine-pds/src/web.rs b/adenosine-pds/src/web.rs index 5b9d6de..4432566 100644 --- a/adenosine-pds/src/web.rs +++ b/adenosine-pds/src/web.rs @@ -5,6 +5,14 @@ use askama::Template; use serde_json; #[derive(Template)] +#[template(path = "error.html")] +pub struct ErrorView { + pub domain: String, + pub status_code: u16, + pub error_message: String, +} + +#[derive(Template)] #[template(path = "home.html")] pub struct GenericHomeView { pub domain: String, |