correct sources

This commit is contained in:
fyears 2021-11-15 01:03:25 +08:00
parent 2ad342c201
commit b3e3022751
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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", {