void-cat-rs/config.toml

23 lines
666 B
TOML
Raw Normal View History

2024-04-29 21:00:47 +00:00
# Listen address for webserver
listen = "127.0.0.1:8000"
# Database connection string (MYSQL)
database = "mysql://root:root@localhost:3366/void_cat"
# Directory to store uploads
2024-05-01 14:00:43 +00:00
storage_dir = "./data"
# Maximum support filesize for uploading
2024-06-18 15:01:23 +00:00
max_upload_bytes = 5e+9
2024-05-01 14:00:43 +00:00
# Public facing url
public_url = "http://localhost:8000"
# Whitelisted pubkeys, leave out to disable
2024-05-14 16:06:35 +00:00
# whitelist = ["63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"]
2024-05-16 20:55:55 +00:00
# Path for ViT(224) image model (https://huggingface.co/google/vit-base-patch16-224)
# vit_model_path = "model.safetennsors"
# Webhook api endpoint
webhook_url = "https://api.snort.social/api/v1/media/webhook"