commit 4964198645dae674d97b07b863985874436947aa
parent 7913fe3eaf88810973278501d1578dc197c3ecbe
Author: cblgh <cblgh@cblgh.org>
Date: Thu, 20 Oct 2022 11:26:44 +0200
cleanup
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/defaults/sample-rules.md b/defaults/sample-rules.md
@@ -1 +1 @@
-This forum is for the [Merveilles](https://wiki.xxiivv.com/site/merveilles.html) community. To register, you need to either belong to the <a href="https://webring.xxiivv.com">Merveilles Webring</a> or the <a href="https://merveilles.town">Merveilles Fediverse instance.
+This forum is for the [Merveilles](https://wiki.xxiivv.com/site/merveilles.html) community. To register, you need to either belong to the [Merveilles Webring](https://webring.xxiivv.com) or the [Merveilles Fediverse instance](https://merveilles.town).
diff --git a/server/server.go b/server/server.go
@@ -775,9 +775,6 @@ func NewServer(allowlist []string, sessionKey, dir string, config types.Config)
dbpath := filepath.Join(s.directory(), "forum.db")
db := database.InitDB(dbpath)
- // TODO? (2022-10-18): introduce step where if config document path is empty =>
- // cconfig.Documents.<path> = filepath.Join(s.directory(), <name>)
-
// load the documents specified in the config
// iff document doesn't exist, dump a default document where it should be and read that
type triple struct { key, docpath, content string }