Vanessa 2024-10-28 22:31:28 +08:00
parent 4873df8a6b
commit ab9e2179b4

View file

@ -9,7 +9,7 @@ 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/")) {
} else if (uri.startsWith("/")) {
window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + uri));
} else {
try {