Browse Source

:art: https://github.com/siyuan-note/siyuan/issues/12038

Vanessa 8 months ago
parent
commit
1d0ccd19f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/src/protyle/util/compatibility.ts

+ 2 - 0
app/src/protyle/util/compatibility.ts

@@ -9,6 +9,8 @@ export const openByMobile = (uri: string) => {
     if (isInIOS()) {
         if (uri.startsWith("assets/")) {
             window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + "/" + uri));
+        } else if (uri.startsWith("/export/")) {
+            window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + uri));
         } else {
             try {
                 new URL(uri);