diff --git a/server/internal/server/routes.go b/server/internal/server/routes.go index 2963ce9..968643f 100644 --- a/server/internal/server/routes.go +++ b/server/internal/server/routes.go @@ -14,6 +14,9 @@ func RegisterRoutes() *http.ServeMux { mux.HandleFunc("/about", web.AboutWebHandler) mux.HandleFunc("/admin", web.AdminWebHandler) mux.HandleFunc("/files/{uuid}", web.FileViewWebHandler) + mux.HandleFunc("/files/{uuid}/msoffice", web.FileViewMSOWebHandler) + mux.HandleFunc("/files/{uuid}/download", web.FileViewDownloadWebHandler) + mux.HandleFunc("/files/{uuid}/delete", web.FileViewDeleteWebHandler) mux.HandleFunc("POST /upload", web.IndexUploadHandler) mux.Handle("/assets/", http.FileServer(http.FS(web.Files)))