mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-25 23:23:47 +00:00
Test: remote handler.delete
This commit is contained in:
1 parent
bf0998f3a5
commit
fffcf1aa1b
3 files changed
+105
-5
No files matched your search
@@ -7,6 +7,7 @@ import (
|
||||
"github.com/HFO4/cloudreve/pkg/filesystem/local"
|
||||
"github.com/HFO4/cloudreve/pkg/filesystem/remote"
|
||||
"github.com/HFO4/cloudreve/pkg/filesystem/response"
|
||||
"github.com/HFO4/cloudreve/pkg/request"
|
||||
"github.com/HFO4/cloudreve/pkg/serializer"
|
||||
"github.com/gin-gonic/gin"
|
||||
"io"
|
||||
@@ -152,6 +153,7 @@ func (fs *FileSystem) dispatchHandler() error {
|
||||
case "remote":
|
||||
fs.Handler = remote.Handler{
|
||||
Policy: currentPolicy,
|
||||
Client: request.HTTPClient{},
|
||||
}
|
||||
return nil
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user