mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Test: remote handler.delete
This commit is contained in:
@@ -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