feat: add PreferSecureProtocol in config.ini
This commit is contained in:
parent
b266a1a2df
commit
d4d460a2a0
4 changed files with 22 additions and 13 deletions
10
config.ini
10
config.ini
|
@ -10,8 +10,12 @@ SourceUrl = git.mctaylors.ru
|
|||
; Application name (e.g. Danbooru).
|
||||
Name = Danbooru
|
||||
; Host (without http://) used to access the application API.
|
||||
Host = stashboo.ru
|
||||
; (Optional) Public host name (without http://) for the “Open in [App.Name]” button.
|
||||
Host = danbooru.donmai.us
|
||||
; (Optional) Public hostname (without http://) for example, the “Open in [App.Name]” button.
|
||||
; Useful if the bot is hosted on the same server as the application.
|
||||
; If not set, [App.Host] will be used instead.
|
||||
HostName =
|
||||
HostName =
|
||||
; Prefer the secure HTTPS protocol for generating links that use a public hostname.
|
||||
; If True, bot will generate HTTPS links.
|
||||
; If False, bot will generate HTTP links.
|
||||
PreferSecureProtocol = True
|
Loading…
Add table
Add a link
Reference in a new issue