一分钟搭建影视站,支持Docker等部署方式
test
developer70f2afe3329b
diff --git a/js/api.js b/js/api.jsindex 074581b..d7ddc83 100644--- a/js/api.js+++ b/js/api.js@@ -89,8 +89,8 @@ async function handleApiRequest(url) {throw new Error('无效的API来源');}- // 对于特殊源,使用特殊处理方式- if ((sourceCode === 'ffzy' || sourceCode === 'jisu' || sourceCode === 'huangcang') && API_SITES[sourceCode].detail) {+ // 对于有detail参数的源,都使用特殊处理方式+ if (sourceCode !== 'custom' && API_SITES[sourceCode].detail) {return await handleSpecialSourceDetail(id, sourceCode);}