🎨 Mobile App switch sync

This commit is contained in:
Daniel 2024-01-20 12:09:47 +08:00
parent 016f58e1a0
commit 9a9392c5af
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -212,6 +212,12 @@ func CheckAuth(c *gin.Context) {
c.Next()
return
}
if strings.HasPrefix(c.Request.RequestURI, "/api/sync/performSync") {
if util.ContainerIOS == util.Container || util.ContainerAndroid == util.Container {
c.Next()
return
}
}
}
// 通过 Cookie