改回CDN加载,避免服务器后台报错

This commit is contained in:
j m 2024-12-21 20:51:09 +08:00
parent 0c46d5fd6f
commit c4d0ed863e
5 changed files with 10 additions and 10 deletions

View File

@ -87,8 +87,8 @@ document.addEventListener('DOMContentLoaded', () => {
MewMusic.prototype.await = [] MewMusic.prototype.await = []
new Promise((resolve) => { new Promise((resolve) => {
const $head = $('head') const $head = $('head')
$head.append('<link rel="stylesheet" href="/themes/theme-dream2-plus/assets/lib/aplayer@1.10.1/APlayer.min.css">') $head.append('<link rel="stylesheet" href="https://unpkg.com/aplayer@1.10.1/dist/APlayer.min.css">')
Utils.cachedScript('/themes/theme-dream2-plus/assets/lib/aplayer@1.10.1/APlayer.min.js') Utils.cachedScript('https://unpkg.com/aplayer@1.10.1/dist/APlayer.min.js')
.done(() => resolve()) .done(() => resolve())
.fail(() => resolve()) .fail(() => resolve())
}).then(() => { }).then(() => {
@ -441,7 +441,7 @@ document.addEventListener('DOMContentLoaded', () => {
MewPhotos.prototype.load = true MewPhotos.prototype.load = true
MewPhotos.prototype.await = [] MewPhotos.prototype.await = []
new Promise((resolve) => { new Promise((resolve) => {
Utils.cachedScript('/themes/theme-dream2-plus/assets/lib/justifiedGallery@3.8.1/jquery.justifiedGallery.min.js') Utils.cachedScript('https://unpkg.com/justifiedGallery@3.8.1/dist/js/jquery.justifiedGallery.min.js')
.done(() => resolve()) .done(() => resolve())
.fail(() => resolve()) .fail(() => resolve())
}).then(() => { }).then(() => {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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.3.3.beta11 version: 1.3.3.beta12
# 最低支持的 Halo 版本 # 最低支持的 Halo 版本
require: ">=2.20.0" require: ">=2.20.0"
# 许可 # 许可