From 6cfd26f5c5fd96389906ab6a6a2511e968565d6d Mon Sep 17 00:00:00 2001 From: Sung Won Cho Date: Fri, 27 Sep 2019 18:00:00 +0800 Subject: [PATCH] Specify api path for CLI configuration (#253) --- SELF_HOSTING.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/SELF_HOSTING.md b/SELF_HOSTING.md index b2997d87..d2fffe73 100644 --- a/SELF_HOSTING.md +++ b/SELF_HOSTING.md @@ -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 +```