🎨 Support for inserting custom blocks https://github.com/siyuan-note/siyuan/issues/8418
This commit is contained in:
parent
f4078be23b
commit
338851fcab
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ func serveAppearance(ginServer *gin.Engine) {
|
|||
ua := useragent.New(userAgentHeader)
|
||||
if ua.Mobile() {
|
||||
if strings.Contains(strings.ToLower(ua.Platform()), "pad") {
|
||||
// Improve detecting Pad device, treat it as desktop device https://github.com/siyuan-note/siyuan/issues/8435
|
||||
location.Path = "/stage/build/desktop/"
|
||||
} else {
|
||||
location.Path = "/stage/build/mobile/"
|
||||
|
|
Loading…
Add table
Reference in a new issue