change: update config.ini

use definitions from danbooru dotenv, add comments

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2025-03-26 14:03:09 +03:00
parent 895f27470f
commit 496ea38b5c
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
4 changed files with 19 additions and 11 deletions

View file

@ -1,8 +1,16 @@
[General]
; HTTP API token of Telegram bot.
; Can also be set with the BOT_TOKEN environment variable.
Token =
; (Optional) URL for "source code" button in /about.
; If not set, button will not appear in "about" menu.
SourceUrl =
[Service]
[App]
; Application name (e.g. Danbooru).
Name = Danbooru
Domain = danbooru.donmai.us
PublicDomain = danbooru.donmai.us
; Host (without http://) used to access the application API.
Host = danbooru.donmai.us
; Public host name (without http://) for the “Open in [App.Name]” button.
; Useful if the bot is hosted on the same server as the application.
HostName = danbooru.donmai.us