mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: adapt new uploader for upyun policy
This commit is contained in:
@@ -258,7 +258,8 @@ func InitMasterRouter() *gin.Engine {
|
||||
)
|
||||
// 又拍云策略上传回调
|
||||
callback.POST(
|
||||
"upyun/:key",
|
||||
"upyun/:sessionID",
|
||||
middleware.UseUploadSession("upyun"),
|
||||
middleware.UpyunCallbackAuth(),
|
||||
controllers.UpyunCallback,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user