This commit is contained in:
j m 2025-03-04 07:58:22 +08:00
parent 97cc260679
commit db7add50ef
2 changed files with 3 additions and 3 deletions

View File

@ -115,12 +115,12 @@ document.addEventListener('DOMContentLoaded', () => {
.then((response) => response.json()) .then((response) => response.json())
} else if (this.hasAttribute('song')) { } else if (this.hasAttribute('song')) {
this.options.audio = await fetch( 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') this.getAttribute('song')
).then((response) => response.json()) ).then((response) => response.json())
} else if (this.hasAttribute('playlist')) { } else if (this.hasAttribute('playlist')) {
this.options.audio = await fetch( 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') this.getAttribute('playlist')
).then((response) => response.json()) ).then((response) => response.json())
} else if (this.hasAttribute('url')) { } else if (this.hasAttribute('url')) {

View File

@ -30,7 +30,7 @@ spec:
settingName: theme-dream2-plus-setting settingName: theme-dream2-plus-setting
configMapName: theme-dream2-plus-configMap configMapName: theme-dream2-plus-configMap
# 版本号 # 版本号
version: 1.4.0.beta2 version: 1.4.0.beta1
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.20.0" require: ">=2.20.0"
# 许可 # 许可