From 9d5378de7a2d5d51eb0ebcf1fdae22b6ca0c7897 Mon Sep 17 00:00:00 2001 From: Jocay <1579649885@qq.com> Date: Sat, 10 Oct 2026 20:30:28 +0800 Subject: [PATCH] chore: include NAS API key configuration for direct deployment --- config.json | 2 +- lib/config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index e4bda93..5a9d204 100755 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "api": { - "apikey": "", + "apikey": "chksz_RGXIby7J6ok-GPa6nMrFgHgQtwEGD-hILAhZXpIa72Q", "music": "https://api.chksz.com/api/163_music", "lyric": "https://api.chksz.com/api/163_lyric", "search": "https://api.chksz.com/api/163_search", diff --git a/lib/config.js b/lib/config.js index 370751f..29d17bc 100755 --- a/lib/config.js +++ b/lib/config.js @@ -5,7 +5,7 @@ const ROOT_DIR = path.join(__dirname, '..'); const APP_CONFIG_FILE = path.join(ROOT_DIR, 'config.json'); const DEFAULT_APP_CONFIG = { api: { - apikey: process.env.CHKSZ_API_KEY || '', + apikey: process.env.CHKSZ_API_KEY || 'chksz_RGXIby7J6ok-GPa6nMrFgHgQtwEGD-hILAhZXpIa72Q', music: 'https://api.chksz.com/api/163_music', lyric: 'https://api.chksz.com/api/163_lyric', search: 'https://api.chksz.com/api/163_search',