mirror of
https://github.com/HChaZZY/BingWallpaperAPI.git
synced 2025-12-06 10:13:49 +08:00
init
This commit is contained in:
21
config/default.json
Normal file
21
config/default.json
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user