mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-30 08:07:01 +08:00
Feat: truncate file if uploaded chunk is overlapped
This commit is contained in:
@ -46,7 +46,7 @@ func InitSlaveRouter() *gin.Engine {
|
||||
// 接收主机心跳包
|
||||
v3.POST("heartbeat", controllers.SlaveHeartbeat)
|
||||
// 上传
|
||||
v3.POST("upload", controllers.SlaveUpload)
|
||||
v3.POST("upload/:sessionId", controllers.SlaveUpload)
|
||||
// 创建上传会话上传
|
||||
v3.PUT("upload", controllers.SlaveGetUploadSession)
|
||||
// 下载
|
||||
|
||||
Reference in New Issue
Block a user