Specify api path for CLI configuration (#253)

This commit is contained in:
Sung Won Cho 2019-09-27 18:00:00 +08:00 committed by GitHub
commit 6cfd26f5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,4 +138,11 @@ editor: nvim
apiEndpoint: https://api.dnote.io
```
Simply change the value for `apiEndpoint` to a full URL to the self-hosted instance, and save the configuration file.
Simply change the value for `apiEndpoint` to a full URL to the self-hosted instance, followed by '/api', and save the configuration file.
e.g.
```yaml
editor: nvim
apiEndpoint: my-dnote-server.com/api
```