mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
9d4c47ee87
1 changed files with 2 additions and 4 deletions
|
@ -274,10 +274,8 @@ func CheckAuth(c *gin.Context) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 放过 /appearance/
|
// 放过静态资源请求
|
||||||
if strings.HasPrefix(c.Request.RequestURI, "/appearance/") ||
|
if strings.HasPrefix(c.Request.RequestURI, "/appearance/") || strings.HasPrefix(c.Request.RequestURI, "/stage/") {
|
||||||
strings.HasPrefix(c.Request.RequestURI, "/stage/build/export/") ||
|
|
||||||
strings.HasPrefix(c.Request.RequestURI, "/stage/protyle/") {
|
|
||||||
c.Next()
|
c.Next()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue