Shared file bug fixes, redesigned pin system, new info button
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m15s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m15s
This commit is contained in:
parent
71ba029fbc
commit
2bcfca983c
7 changed files with 511 additions and 276 deletions
|
|
@ -167,6 +167,7 @@ func main() {
|
|||
|
||||
// File listing and download (with path jail)
|
||||
files := protected.Group("/files", middleware.PathJail(cfg.StorageDir))
|
||||
files.Get("/info/*", fsHandler.GetExtendedFileInfo)
|
||||
files.Get("/thumbnail/:checksum", fsHandler.ServeThumbnail)
|
||||
files.Get("/download/*", fsHandler.Download)
|
||||
files.Post("/zip", archiveHandler.Zip)
|
||||
|
|
|
|||
Reference in a new issue