zer0bin/backend/config.example.json

23 lines
417 B
JSON
Executable File

{
"server": {
"backend_host": "127.0.0.1",
"backend_port": 8000
},
"pastes": {
"character_limit": 50000,
"days_til_expiration": 30,
"id_length": 6
},
"ratelimits": {
"seconds_in_between_pastes": 2,
"allowed_pastes_before_ratelimit": 5
},
"databases": {
"postgres_uri": "postgres://postgres:postgres@localhost:5432/zer0bin"
},
"logging": {
"on_post_paste": true,
"on_get_paste": true
}
}