From 1ba1591c75b2177ea45e675f4b9f6e7d23254633 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Wed, 23 Mar 2022 23:37:49 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a73b73..1508380 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,8 @@ Additionally, the plugin author may occasionally visit Obsidian official forum a ### webdav - About CORS: - - If you are using Obsidian desktop >= 0.13.25 or mobile >= 1.1.1, you can skip this CORS part. - - If you are using Obsidian desktop < 0.13.25 or mobile < 1.1.1: + - If you are using Obsidian desktop >= 0.13.25 or iOS >= 1.1.1, you can skip this CORS part. + - If you are using Obsidian desktop < 0.13.25 or iOS < 1.1.1 or any Android version: - The webdav server has to be enabled CORS for requests from `app://obsidian.md` and `capacitor://localhost` and `http://localhost`, **AND** all webdav HTTP methods, **AND** all webdav headers. These are required, because Obsidian mobile works like a browser and mobile plugins are limited by CORS policies unless under a upgraded Obsidian version. - Popular software NextCloud, OwnCloud, `rclone serve webdav` do **NOT** enable CORS by default. If you are using any of them, you should evaluate the risk, and find a way to enable CORS, before using this plugin, or use a upgraded Obsidian version. - The plugin is tested successfully under python package [`wsgidav` (version 4.0)](https://github.com/mar10/wsgidav). See [this issue](https://github.com/mar10/wsgidav/issues/239) for some details. From cccc4969cd15f562aca695cf0426000805ddffa1 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Wed, 23 Mar 2022 23:38:48 +0800 Subject: [PATCH 2/2] Update browser_env.md --- docs/browser_env.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/browser_env.md b/docs/browser_env.md index f7d2ccd..4ec2651 100644 --- a/docs/browser_env.md +++ b/docs/browser_env.md @@ -6,7 +6,7 @@ Technically, the plugin (or any plugin?) runs in the js environment provided by Then some limitations are applied: -1. [The CORS issue (solved in the new Obsidian version).](./browser_env_cors.md) +1. [The CORS issue (solved in the new Obsidian version on some platforms).](./browser_env_cors.md) 2. [No Node.js environment.](./browser_env_no_nodejs.md) 3. If the cloud service uses OAuth flow, it needs to support PKCE. More details are [here](./browser_env_oauth2_pkce.md). 4. [No background running after Obsidian is closes.](./browser_env_no_background_after_closing.md)