Finish list viewer

This commit is contained in:
2017-12-12 23:33:41 +01:00
parent 98546918e9
commit 49c28476a9
8 changed files with 91 additions and 9 deletions

View File

@@ -28,6 +28,7 @@ func Init(r *httprouter.Router, prefix string) {
r.GET(prefix+"/history", webcontroller.ServeHistory)
r.GET(prefix+"/u/:id", webcontroller.ServeFileViewer)
r.GET(prefix+"/u/:id/preview", webcontroller.ServeFilePreview)
r.GET(prefix+"/l/:id", webcontroller.ServeListViewer)
r.GET(prefix+"/t", webcontroller.ServePaste)
r.NotFound = http.HandlerFunc(webcontroller.ServeNotFound)