diff --git a/web/script.js b/web/script.js index 8a85814..5ba70ad 100644 --- a/web/script.js +++ b/web/script.js @@ -49,7 +49,7 @@ function switchTab(tabName) { // 添加 API 配置 const API_CONFIG = { - BASE_URL: '/api/v1', + BASE_URL: 'https://api.wwlww.org/v1', ENDPOINTS: { SEARCH: '/avcode', COLLECTIONS: '/hacg', @@ -1504,4 +1504,4 @@ function showThemeMenu(button) { } }; document.addEventListener('keydown', handleEscape); -} \ No newline at end of file +}