Support canceling an in-progress download

This commit is contained in:
Dane Everitt
2020-12-20 12:53:40 -08:00
parent c718da20e3
commit c8d297a056
5 changed files with 91 additions and 11 deletions

View File

@@ -83,6 +83,7 @@ func Configure() *gin.Engine {
files.POST("/copy", postServerCopyFile)
files.POST("/write", postServerWriteFile)
files.POST("/pull", postServerPullRemoteFile)
files.DELETE("/pull/:download", deleteServerPullRemoteFile)
files.POST("/create-directory", postServerCreateDirectory)
files.POST("/delete", postServerDeleteFiles)
files.POST("/compress", postServerCompressFiles)