mirror of
https://github.com/cloudreve/cloudreve.git
synced 2025-10-29 15:47:45 +08:00
Fix: S3 adaption for minio
This commit is contained in:
@ -110,6 +110,7 @@ func COSCallback(c *gin.Context) {
|
||||
|
||||
// S3Callback S3上传完成客户端回调
|
||||
func S3Callback(c *gin.Context) {
|
||||
c.Header("Access-Control-Allow-Origin", "*")
|
||||
var callbackBody callback.S3Callback
|
||||
if err := c.ShouldBindQuery(&callbackBody); err == nil {
|
||||
res := callbackBody.PreProcess(c)
|
||||
|
||||
Reference in New Issue
Block a user