diff options
| author | Xe Iaso <me@christine.website> | 2023-02-02 08:05:34 -0500 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2023-02-02 08:05:34 -0500 |
| commit | c117eae7c5af977d0299d34169e4a403f77e2afa (patch) | |
| tree | 83438cf5abc605e0ec174aa4a3f0e4b91b640008 /src/main.rs | |
| parent | 757cee6fdd13502eb62305f77e73698878b01aa2 (diff) | |
| download | xesite-c117eae7c5af977d0299d34169e4a403f77e2afa.tar.xz xesite-c117eae7c5af977d0299d34169e4a403f77e2afa.zip | |
add stream VOD page
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c5b0472..68f3371 100644 --- a/src/main.rs +++ b/src/main.rs @@ -175,6 +175,10 @@ async fn main() -> Result<()> { .route("/signalboost", get(handlers::signalboost)) .route("/salary-transparency", get(handlers::salary_transparency)) .route("/pronouns", get(handlers::pronouns)) + // vods + .route("/vods", get(handlers::streams::list)) + .route("/vods/", get(handlers::streams::list)) + .route("/vods/:year/:month/:slug", get(handlers::streams::show)) // feeds .route("/blog.json", get(handlers::feeds::jsonfeed)) .route("/blog.atom", get(handlers::feeds::atom)) |
