From 6a431280196685fa10f2033a9021e4aa36409c06 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 10 Jul 2019 08:49:42 +0200 Subject: [PATCH] Fix non-rendering docs --- docs/rest-api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rest-api.md b/docs/rest-api.md index 0508f83e4..afecc1d80 100644 --- a/docs/rest-api.md +++ b/docs/rest-api.md @@ -16,10 +16,10 @@ Sample configuration: }, ``` -!!! Danger: Security warning +!!! Danger Security warning By default, the configuration listens on localhost only (so it's not reachable from other systems). We strongly recommend to not expose this API to the internet and choose a strong, unique password, since others will potentially be able to control your bot. -!!! Danger: Password selection +!!! Danger Password selection Please make sure to select a very strong, unique password to protect your bot from unauthorized access. You can then access the API by going to `http://127.0.0.1:8080/api/v1/version` to check if the API is running correctly. @@ -62,7 +62,7 @@ docker run -d \ ``` !!! Danger "Security warning" - By using `-p 8080:8080` the API is available to everyone connecting to the server under the correct port, so others may be able to control your bot. + By using `-p 8080:8080` the API is available to everyone connecting to the server under the correct port, so others may be able to control your bot. ## Consuming the API