diff --git a/src/js/mew-custom.js b/src/js/mew-custom.js index 708460a..d3d6d6d 100644 --- a/src/js/mew-custom.js +++ b/src/js/mew-custom.js @@ -115,12 +115,12 @@ document.addEventListener('DOMContentLoaded', () => { .then((response) => response.json()) } else if (this.hasAttribute('song')) { this.options.audio = await fetch( - this.getAttribute('apiUrl') || 'https://api.i-meto.com/meting/api' + '?server=netease&type=song&id=' + + 'https://api.i-meto.com/meting/api?server=netease&type=song&id=' + this.getAttribute('song') ).then((response) => response.json()) } else if (this.hasAttribute('playlist')) { this.options.audio = await fetch( - this.getAttribute('apiUrl') || 'https://api.i-meto.com/meting/api' + '?server=netease&type=playlist&id=' + + 'https://api.i-meto.com/meting/api?server=netease&type=playlist&id=' + this.getAttribute('playlist') ).then((response) => response.json()) } else if (this.hasAttribute('url')) { diff --git a/theme.yaml b/theme.yaml index 5d0b776..9bc3468 100644 --- a/theme.yaml +++ b/theme.yaml @@ -30,7 +30,7 @@ spec: settingName: theme-dream2-plus-setting configMapName: theme-dream2-plus-configMap # 版本号 - version: 1.4.0.beta2 + version: 1.4.0.beta1 # 最低支持的 Halo 版本 require: ">=2.20.0" # 许可