Browse Source

:art: Support for inserting custom blocks https://github.com/siyuan-note/siyuan/issues/8418

Daniel 2 years ago
parent
commit
338851fcab
1 changed files with 1 additions and 0 deletions
  1. 1 0
      kernel/server/serve.go

+ 1 - 0
kernel/server/serve.go

@@ -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/"