summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar Mia Heidenstedt <i5heu@i5h.eu>2022-11-03 13:15:31 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-03 13:15:31 +0100
commitf3fc040c2effd85afa91d94bd409fa016980056e (patch)
tree7e9c1f407183728c44fa18fa282215d640aa9d2e /example
parent[frontend] change bundler to skulk (#942) (diff)
downloadgotosocial-f3fc040c2effd85afa91d94bd409fa016980056e.tar.xz
[feature] Allow user to show instead of landing page on / (#922)
* configurable user instead of landing page * rename DefaultUser to LandingPageUser * code review changes and fix tests * try to fix pipeline error * code review changes * code review changes * code review changes * remove unnecessary line
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index b3701c883..a741aef47 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -35,6 +35,11 @@ log-db-queries: false
# Default: "gotosocial"
application-name: "gotosocial"
+# String. The user that will be shown instead of the landing page. if no user is set, the landing page will be shown.
+# Examples: "admin"
+# Default: ""
+landing-page-user: ""
+
# String. Hostname that this server will be reachable at. Defaults to localhost for local testing,
# but you should *definitely* change this when running for real, or your server won't work at all.
# DO NOT change this after your server has already run once, or you will break things!