From 65e16c92542df782ff187fa3aa1404b90089ba5e Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 17 Dec 2020 01:56:31 +0100 Subject: [PATCH] Generate docs --- docs/content/doc/setup/config.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/content/doc/setup/config.md b/docs/content/doc/setup/config.md index 6ee7779d7..370420cfa 100644 --- a/docs/content/doc/setup/config.md +++ b/docs/content/doc/setup/config.md @@ -161,6 +161,15 @@ If not empty, enables logging of crashes and unhandled errors in sentry. Default: `` +### testingtoken + +If not empty, this will enable `/test/{table}` endpoints which allow to put any content in the database. +Used to reset the db before frontend tests. Because this is quite a dangerous feature allowing for lots of harm, +each request made to this endpoint neefs to provide an `Authorization: ` header with the token from below.
+**You should never use this unless you know exactly what you're doing** + +Default: `` + --- ## database @@ -300,7 +309,7 @@ Default: `true` ### origins -A list of origins which may access the api. +A list of origins which may access the api. These need to include the protocol (`http://` or `https://`) and port, if any. Default: `` @@ -503,6 +512,10 @@ Default: `` Default: `` +### trello + +Default: `` + --- ## avatar