mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
use config file instead of argument options
This commit is contained in:
parent
ec0cca64f3
commit
3e94399ccb
15 changed files with 162 additions and 123 deletions
33
crates/http/config.toml
Normal file
33
crates/http/config.toml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
title = "rssto"
|
||||
#description = ""
|
||||
|
||||
# Replace image sources with local
|
||||
# * if crawled with the `persist_images_selector` selector
|
||||
local_images = true
|
||||
|
||||
format_time = "%d/%m/%Y %H:%M"
|
||||
|
||||
# Provider ID (`provider` table)
|
||||
# * None for the original content
|
||||
# provider_id = 1
|
||||
|
||||
# Default listing limit
|
||||
list_limit = 20
|
||||
|
||||
# Bind server on given host
|
||||
host = "127.0.0.1"
|
||||
|
||||
# Bind server on given port
|
||||
port = 8000
|
||||
|
||||
#Configure instance in the debug mode
|
||||
debug = true
|
||||
|
||||
# Database connection setup
|
||||
# * see crates/mysql/database
|
||||
[mysql]
|
||||
host = "localhost"
|
||||
port = 3306
|
||||
username = ""
|
||||
password = ""
|
||||
database = "rssto"
|
||||
Loading…
Add table
Add a link
Reference in a new issue