mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 16:39:40 +08:00
改回CDN加载,避免服务器后台报错
This commit is contained in:
parent
0c46d5fd6f
commit
c4d0ed863e
@ -87,8 +87,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
MewMusic.prototype.await = []
|
||||
new Promise((resolve) => {
|
||||
const $head = $('head')
|
||||
$head.append('<link rel="stylesheet" href="/themes/theme-dream2-plus/assets/lib/aplayer@1.10.1/APlayer.min.css">')
|
||||
Utils.cachedScript('/themes/theme-dream2-plus/assets/lib/aplayer@1.10.1/APlayer.min.js')
|
||||
$head.append('<link rel="stylesheet" href="https://unpkg.com/aplayer@1.10.1/dist/APlayer.min.css">')
|
||||
Utils.cachedScript('https://unpkg.com/aplayer@1.10.1/dist/APlayer.min.js')
|
||||
.done(() => resolve())
|
||||
.fail(() => resolve())
|
||||
}).then(() => {
|
||||
@ -441,7 +441,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
MewPhotos.prototype.load = true
|
||||
MewPhotos.prototype.await = []
|
||||
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())
|
||||
.fail(() => resolve())
|
||||
}).then(() => {
|
||||
|
2
templates/assets/css/mew-custom.min.css
vendored
2
templates/assets/css/mew-custom.min.css
vendored
File diff suppressed because one or more lines are too long
2
templates/assets/css/style.min.css
vendored
2
templates/assets/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
8
templates/assets/js/mew-custom.min.js
vendored
8
templates/assets/js/mew-custom.min.js
vendored
File diff suppressed because one or more lines are too long
@ -30,7 +30,7 @@ spec:
|
||||
settingName: theme-dream2-plus-setting
|
||||
configMapName: theme-dream2-plus-configMap
|
||||
# 版本号
|
||||
version: 1.3.3.beta11
|
||||
version: 1.3.3.beta12
|
||||
# 最低支持的 Halo 版本
|
||||
require: ">=2.20.0"
|
||||
# 许可
|
||||
|
Loading…
x
Reference in New Issue
Block a user