mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: process upload callback sent from slave node
This commit is contained in:
@@ -223,7 +223,8 @@ func InitMasterRouter() *gin.Engine {
|
||||
{
|
||||
// 远程策略上传回调
|
||||
callback.POST(
|
||||
"remote/:key",
|
||||
"remote/:sessionID/:key",
|
||||
middleware.UseUploadSession("remote"),
|
||||
middleware.RemoteCallbackAuth(),
|
||||
controllers.RemoteCallback,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user