mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Mobile App switch sync
This commit is contained in:
parent
016f58e1a0
commit
9a9392c5af
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue