Added movie page and route handler

This commit is contained in:
2025-02-23 16:06:47 +11:00
parent 725038009a
commit e794024786
3 changed files with 70 additions and 0 deletions

View File

@@ -60,4 +60,7 @@ func addRoutes(
route("POST /change-username", loggedIn(fresh(handler.ChangeUsername(logger, conn))))
route("POST /change-bio", loggedIn(handler.ChangeBio(logger, conn)))
route("POST /change-password", loggedIn(fresh(handler.ChangePassword(logger, conn))))
// Movie page
route("GET /movie/{movie_id}", handler.Movie(logger, config))
}