2022-02-28 21:51:37 +00:00
|
|
|
{
|
2022-03-16 23:38:43 +00:00
|
|
|
"server": {
|
|
|
|
"backend_host": "127.0.0.1",
|
|
|
|
"backend_port": 8000
|
|
|
|
},
|
|
|
|
"pastes": {
|
2022-03-22 16:55:09 +00:00
|
|
|
"character_limit": 50000,
|
|
|
|
"days_til_expiration": 30,
|
|
|
|
"id_length": 6
|
2022-03-16 23:38:43 +00:00
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
2022-03-13 23:33:00 +00:00
|
|
|
}
|