This commit is contained in:
Vanessa 2023-01-07 11:51:08 +08:00
parent 182886a996
commit 17067c4d49
7 changed files with 15 additions and 15 deletions

View file

@ -371,7 +371,7 @@ const initWindow = () => {
document.body.classList.add("body--blur");
});
ipcRenderer.on(Constants.SIYUAN_OPENURL, (event, url) => {
console.log(event, url)
console.log(event, url);
if (!/^siyuan:\/\/blocks\/\d{14}-\w{7}/.test(url)) {
return;
}