mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
This commit is contained in:
parent
10e8612c34
commit
ba9335531a
1 changed files with 2 additions and 2 deletions
|
|
@ -179,8 +179,8 @@ export const initWindow = async (app: App) => {
|
|||
} catch (error) {
|
||||
return;
|
||||
}
|
||||
if (urlObj && urlObj.pathname.startsWith("//plugins/")) {
|
||||
const pluginNameType = urlObj.pathname.replace("//plugins/", "");
|
||||
if (urlObj && urlObj.hostname === "plugins") {
|
||||
const pluginNameType = urlObj.pathname.split("/")[1];
|
||||
if (!pluginNameType) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue