mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 iframe 使用短网址会打开浏览器或跳转 APP Fix https://github.com/siyuan-note/siyuan/issues/6327
This commit is contained in:
parent
7a99f9078e
commit
29a14f722d
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ const boot = () => {
|
|||
shell.openExternal(url)
|
||||
})
|
||||
|
||||
// iframe 使用短网址会打开浏览器或跳转 APP https://github.com/siyuan-note/siyuan/issues/6327
|
||||
// IFrame 块不跟随重定向 https://github.com/siyuan-note/siyuan/issues/6327
|
||||
mainWindow.webContents.on('will-redirect', (event, url, isInPlace, isMainFrame) => {
|
||||
if (url.startsWith('http://127.0.0.1:6806')) {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue