diff --git a/README.md b/README.md index e4503ab..456bf8f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ As of November 2021, the plugin is considered in BETA stage. **DO NOT USE IT for ## Usage - Prepare your S3 (-compatible) service information: [endpoint, region](https://docs.aws.amazon.com/general/latest/gr/s3.html), [access key id, secret access key](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html), bucket name. The bucket should be empty and solely for syncing a vault. -- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md`. It's unfortunately required, because the plugin sends requests from a browser-like envirement. +- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md` and `capacitor://localhost`. It's unfortunately required, because the plugin sends requests from a browser-like envirement. And those addresses are tested and found on desktop and ios. - Download and enable this plugin. - Enter your infomation to the settings of this plugin. - If you want to enable end-to-end encryption, also set a password in settings. If you do not specify a password, the files and folders are synced in plain, original content to the cloud. diff --git a/src/main.ts b/src/main.ts index 86b4570..55103fb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -272,7 +272,7 @@ class RemotelySaveSettingTab extends PluginSettingTab { }); s3Div.createEl("p", { - text: "You need to configure CORS to allow requests from origin app://obsidian.md", + text: "You need to configure CORS to allow requests from origin app://obsidian.md and capacitor://localhost", }); s3Div.createEl("p", {