mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2026-01-28 01:21:16 +00:00
uncomment stack handler
This commit is contained in:
2
main.go
2
main.go
@@ -109,7 +109,7 @@ func main() {
|
|||||||
return pages.HandlePost(w, r)
|
return pages.HandlePost(w, r)
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
// app.Handle("GET /stack/:baseName.:extension", wrapHandler(pages.HandleMedia))
|
app.Handle("GET /stack/{component}", wrapHandler(pages.HandleMedia))
|
||||||
// matches anything with no more specific route
|
// matches anything with no more specific route
|
||||||
app.Handle("GET /", wrapHandler(func(w http.ResponseWriter, r *http.Request) error {
|
app.Handle("GET /", wrapHandler(func(w http.ResponseWriter, r *http.Request) error {
|
||||||
err := render.Render(w, "errors/404", nil)
|
err := render.Render(w, "errors/404", nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user