From 7be8f1c7993402a50cd016a81e21d8fc0597cd68 Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 14 Dec 2022 12:09:46 +0800 Subject: [PATCH] Added error delay to 3000 and add some readme to dev --- README.md | 10 ++++++++++ main.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9808ba..a1d9095 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,16 @@ To sync images to your oss or cos bucket, use the [Obsidian Image Auto Upload Pl [Buy me a coffee](https://dun.mianbaoduo.com/@easy) + +# Development + +``` +git clone https://github.com/EasyChris/obsidian-to-notion.git +yarn install +yarn dev +``` + + # Thanks [Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html) diff --git a/main.ts b/main.ts index 514f500..e174069 100644 --- a/main.ts +++ b/main.ts @@ -90,7 +90,7 @@ export default class ObsidianSyncNotionPlugin extends Plugin { if(res.status === 200){ new Notice(`${langConfig["sync-success"]}${basename}`) }else { - new Notice(`${langConfig["sync-fail"]}${basename}`) + new Notice(`${langConfig["sync-fail"]}${basename}`, 3000) } } }