This commit is contained in:
2025-04-07 15:42:28 +08:00
commit c023e530e1
12 changed files with 563 additions and 0 deletions

21
config/default.json Normal file
View File

@@ -0,0 +1,21 @@
{
"server": {
"port": 3000,
"host": "0.0.0.0"
},
"bing": {
"apiUrl": "https://cn.bing.com/HPImageArchive.aspx?format=js&n=1&idx=0&mkt=zh-CN",
"baseUrl": "https://global.bing.com"
},
"cache": {
"path": "./cache/bing-wallpaper.jpg",
"metadataPath": "./cache/metadata.json"
},
"schedule": {
"checkInterval": "0 * * * *"
},
"retry": {
"maxAttempts": 3,
"delayMs": 5000
}
}