implement new requirements

This commit is contained in:
2026-03-17 18:28:47 +08:00
parent 04261c59cc
commit 714981b447
3 changed files with 245 additions and 71 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
{
"base_url": "http://localhost:8080",
"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"
"db_path": "data/urlshort.db",
"retention_days": 0
}