mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-13 09:15:39 +00:00
feat: add download link to create a zip archive of restored files
This commit is contained in:
@@ -108,6 +108,7 @@ func main() {
|
||||
backrestHandlerPath, backrestHandler := v1connect.NewBackrestHandler(apiBackrestHandler)
|
||||
mux.Handle(backrestHandlerPath, auth.RequireAuthentication(backrestHandler, authenticator))
|
||||
mux.Handle("/", webui.Handler())
|
||||
mux.Handle("/download/", http.StripPrefix("/download", api.NewDownloadHandler(oplog)))
|
||||
|
||||
// Serve the HTTP gateway
|
||||
server := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user