🎨 iOS will display a white screen when clicking on a link without a protocol https://github.com/siyuan-note/siyuan/issues/12038
This commit is contained in:
parent
58032e538c
commit
9088e49a76
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export const openByMobile = (uri: string) => {
|
|||
new URL(uri);
|
||||
window.location.href = uri;
|
||||
} catch (e) {
|
||||
window.location.href = "http://" + uri;
|
||||
window.location.href = "https://" + uri;
|
||||
}
|
||||
} else if (isInAndroid()) {
|
||||
window.JSAndroid.openExternal(uri);
|
||||
|
|
Loading…
Add table
Reference in a new issue