This commit is contained in:
parent
4873df8a6b
commit
ab9e2179b4
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue