mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: oss driver
This commit is contained in:
@@ -25,7 +25,7 @@ func SlaveUpload(c *gin.Context) {
|
||||
c.JSON(200, serializer.Err(serializer.CodePolicyNotAllowed, err.Error(), err))
|
||||
return
|
||||
}
|
||||
fs.Handler = local.Handler{}
|
||||
fs.Handler = local.Driver{}
|
||||
|
||||
// 从请求中取得上传策略
|
||||
uploadPolicyRaw := c.GetHeader("X-Policy")
|
||||
|
||||
Reference in New Issue
Block a user