app refactored
This commit is contained in:
+7
-2
@@ -1,10 +1,15 @@
|
||||
{
|
||||
"base_url": "http://localhost:8080/s",
|
||||
"short_length": 6,
|
||||
"api_key": "change-this-secret-key",
|
||||
"host": "0.0.0.0",
|
||||
"port": 8080,
|
||||
"db_path": "data/urlshort.db",
|
||||
"retention_days": 0
|
||||
"retention_days": 0,
|
||||
"min_short_length": 6,
|
||||
"max_short_length": 32,
|
||||
"max_url_length": 2048,
|
||||
"max_retention_days": 3650,
|
||||
"rate_limit_requests": 60,
|
||||
"rate_limit_window": 60
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user