Skip to content

Commit

Permalink
🐳 chore(CDN): 更改为重定向域名
Browse files Browse the repository at this point in the history
  • Loading branch information
CCKNBC committed Mar 9, 2023
1 parent fcf6798 commit 4900c0a
Show file tree
Hide file tree
Showing 17 changed files with 131 additions and 114 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## [CC的部落格](https://blog.ccknbc.cc)

路过点个star吧,不为什么就是求求了

## 镜像站点

{% note success flat %} 以下排名不分先后,请选择适合自己访问较快的即可</br> **[GitHub](https://github.blog.ccknbc.cc) | [GitLab](https://gitlab.blog.ccknbc.cc) | [Gitee](https://ccknbc.gitee.io) | [Bitbucket](https://ccknbc.bitbucket.io) | [Vercel](https://vercel.blog.ccknbc.cc) | [Netlify](https://netlify.blog.ccknbc.cc) | [CloudFlare](https://cloudflare.blog.ccknbc.cc)** {% endnote %}

## 站点源码

**[GitHub](https://github.com/ccknbc-actions/blog-butterfly) | [GitLab](https://gitlab.com/CCKNBC/ccknbc.gitlab.io) | [Bitbucket](https://bitbucket.org/ccknbc/blog) | [Coding](https://ccknbc.coding.net/public/blog/blog-butterfly/git/files) | [Gitee](https://gitee.com/ccknbc/blog-butterfly)**
24 changes: 12 additions & 12 deletions _config.Acrylic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ ptool:
reward:
enable: true
QR_code:
- img: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/qr.png
- img: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/qr.png
link: https://www.rocschool.com/tool/qr/qr/id/51.html
text: 三合一
- img: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/afdian.png
- img: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/afdian.png
link: https://afdian.net/@ccknbc
text: 爱发电

Expand Down Expand Up @@ -371,18 +371,18 @@ waline:
level6: 开吃
emoji:
[
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/",
# "https://jsd.cdn.zzko.cn/npm/telegram-gif/Telegram-Gif/",
# "https://jsd.cdn.zzko.cn/npm/@waline/emojis/tw-emoji/",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/",
# "https://cdn.jsdelivr.ren/npm/telegram-gif/Telegram-Gif/",
# "https://cdn.jsdelivr.ren/npm/@waline/emojis/tw-emoji/",
]
reaction:
[
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/鼓掌.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/菜狗.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/正确.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/错误.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/思考.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/睡觉.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/鼓掌.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/菜狗.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/正确.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/错误.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/思考.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/睡觉.png",
]


Expand Down Expand Up @@ -977,7 +977,7 @@ CDN:

# Custom format
# For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
custom_format: https://jsd.cdn.zzko.cn/npm/${name}/${file}
custom_format: https://cdn.jsdelivr.ren/npm/${name}/${file}

option:
# main_css:
Expand Down
58 changes: 29 additions & 29 deletions _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ docsearch:
indexName: ccknbc
option:
debug: false
placeholder: 'Ctrl/⌘ + K 快速启用/关闭站内搜索'
placeholder: 'Ctrl/⌘ + K 唤醒/关闭站内搜索'
translations:
button:
buttonText: '搜索'
Expand Down Expand Up @@ -150,7 +150,7 @@ favicon: /favicon.ico

# Avatar (頭像)
avatar:
img: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/logo.png
img: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/logo.png
effect: false

disable_top_img: false
Expand Down Expand Up @@ -196,8 +196,8 @@ cover:

# Replace Broken Images (替換無法顯示的圖片)
error_img:
flink: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/photos@master/blog/2021-03-08~15-13-28.gif
post_page: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/photos@master/blog/2021-03-08~15-13-15.gif
flink: https://cdn.jsdelivr.ren/gh/ccknbc-backup/photos@master/blog/2021-03-08~15-13-28.gif
post_page: https://cdn.jsdelivr.ren/gh/ccknbc-backup/photos@master/blog/2021-03-08~15-13-15.gif

# A simple 404 page
error_404:
Expand Down Expand Up @@ -266,10 +266,10 @@ post_copyright:
reward:
enable: true
QR_code:
- img: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/qr.png
- img: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/qr.png
link: https://www.rocschool.com/tool/qr/qr/id/51.html
text: 三合一
- img: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/afdian.png
- img: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/afdian.png
link: https://afdian.net/@ccknbc
text: 爱发电

Expand Down Expand Up @@ -387,18 +387,18 @@ waline:
level6: 开吃
emoji:
[
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/",
# "https://jsd.cdn.zzko.cn/npm/telegram-gif/Telegram-Gif/",
# "https://jsd.cdn.zzko.cn/npm/@waline/emojis/tw-emoji/",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/",
# "https://cdn.jsdelivr.ren/npm/telegram-gif/Telegram-Gif/",
# "https://cdn.jsdelivr.ren/npm/@waline/emojis/tw-emoji/",
]
reaction:
[
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/鼓掌.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/菜狗.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/正确.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/错误.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/思考.png",
"https://jsd.cdn.zzko.cn/npm/sticker-heo/Sticker-100/睡觉.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/鼓掌.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/菜狗.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/正确.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/错误.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/思考.png",
"https://cdn.jsdelivr.ren/npm/sticker-heo/Sticker-100/睡觉.png",
]

discuss:
Expand All @@ -410,7 +410,7 @@ discuss:
# imgLoading: # 评论图片懒加载,加载动画,默认为1像素白色base64图
visitStat: false # 是否开启访问统计,默认: false
color: "#8fbc8f"
emotCDN: "https://jsd.cdn.zzko.cn/npm/discuss"
emotCDN: "https://cdn.jsdelivr.ren/npm/discuss"

# Twikoo
# https://github.com/imaegoo/twikoo
Expand Down Expand Up @@ -473,7 +473,7 @@ valine:
appKey:
avatar: monsterid # gravatar style https://valine.js.org/#/avatar
serverURLs: https://5J2LIPyE.api.lncldglobal.com # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
bg: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/image/comments/bg.jpg
bg: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/image/comments/bg.jpg
visitor: false
option:
pageSize: 10 # comment list page size
Expand All @@ -482,7 +482,7 @@ valine:
#Valine系统暂时停用,恢复时间待定 # valine comment input placeholder(like: Please leave your footprints )
guest_info: nick,mail,link #valine comment header info (nick/mail/link)
recordIP: true # Record reviewer IP
emojiCDN: https://jsd.cdn.zzko.cn/gh/GamerNoTitle/Valinecdn/
emojiCDN: https://cdn.jsdelivr.ren/gh/GamerNoTitle/Valinecdn/
#https://valinecdn.bili33.top/
enableQQ: true # enable the Nickname box to automatically get QQ Nickname and QQ Avatar
requiredFields: mail # required fields (nick/mail)
Expand Down Expand Up @@ -554,17 +554,17 @@ footer:
enable: true
url: https://beian.miit.gov.cn
text: 鄂 ICP 备 2020019764 号
# icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/icp.png
# icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/icp.png
gongan: # Chinese Gongan License
enable: true
url: https://www.beian.gov.cn/portal/registerSystemInfo?recordcode=42088102000092
text: 鄂公网安备 42088102000092 号
# icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/gongan.png
# icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/gongan.png
upyun: # Chinese Gongan License
enable: false
url: https://www.upyun.com
text: 又拍云提供 CDN 加速服务
# icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/upyun-white.svg
# icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/upyun-white.svg
live: #页脚运行时间
enable: true
prefix: "本站已运行"
Expand Down Expand Up @@ -804,7 +804,7 @@ preloader:
# 2. pace (progress bar)
source: 2
# pace theme (see https://codebyzach.github.io/pace/)
pace_css_url: https://jsd.cdn.zzko.cn/gh/CodeByZach/pace/themes/green/pace-theme-flash.css
pace_css_url: https://cdn.jsdelivr.ren/gh/CodeByZach/pace/themes/green/pace-theme-flash.css

# aside (側邊欄)
# --------------------------------------
Expand Down Expand Up @@ -1037,8 +1037,8 @@ pwa:
enable: false
manifest: /manifest.json
theme_color: "#ffffff"
apple_touch_icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/image/pwa/apple-touch-icon.png
mask_icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/image/pwa/safari-pinned-tab.svg
apple_touch_icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/image/pwa/apple-touch-icon.png
mask_icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/image/pwa/safari-pinned-tab.svg

# Open graph meta tags
# https://developers.facebook.com/docs/sharing/webmasters/
Expand All @@ -1057,15 +1057,15 @@ inject:
bottom:
# - <div class="aplayer no-destroy" data-id="12838890" data-server="netease" data-type="artist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="true" muted></div>
- '<div class="app-refresh" id="app-refresh"> <div class="app-refresh-wrap"> <label>✨ 网站已更新 👉</label> <a href="javascript:void(0)" onclick="location.reload()">✔ <b>点击刷新</b> 💫</a> </div></div><script>function showNotification(){if(GLOBAL_CONFIG.Snackbar){let t="light"===document.documentElement.getAttribute("data-theme")?GLOBAL_CONFIG.Snackbar.bgLight:GLOBAL_CONFIG.Snackbar.bgDark,e=GLOBAL_CONFIG.Snackbar.position;Snackbar.show({text:"✨ 部落格已更新 👉",backgroundColor:t,duration:1e4,pos:e,actionText:"✔ 点击刷新 💫",textColor:"#EEEEEE",actionTextColor:"#FFFFFF",onActionClick:function(t){location.reload()}})}else{let o=`top: 0; background: ${"light"===document.documentElement.getAttribute("data-theme")?"#49b1f5":"#1f1f1f"};`;document.getElementById("app-refresh").style.cssText=o}}"serviceWorker"in navigator&&(navigator.serviceWorker.controller&&navigator.serviceWorker.addEventListener("controllerchange",function(){showNotification()}),window.addEventListener("load",function(){navigator.serviceWorker.register("./sw.js")}));</script>'
# - <script defer src="https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/js/announcement.js"></script>
# - <script defer src="https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/js/announcement.js"></script>
# - <script>!function(p){"use strict";!function(t){var s=window,e=document,i=p,c="".concat("https:"===e.location.protocol?"https://":"http://","sdk.51.la/js-sdk-pro.min.js"),n=e.createElement("script"),r=e.getElementsByTagName("script")[0];n.type="text/javascript",n.setAttribute("charset","UTF-8"),n.async=!0,n.src=c,n.id="LA_COLLECT",i.d=n;var o=function(){s.LA.ids.push(i)};s.LA?s.LA.ids&&o():(s.LA=p,s.LA.ids=[],o()),r.parentNode.insertBefore(n,r)}()}({id:"JgUfbwUA5BsLeAIc",ck:"JgUfbwUA5BsLeAIc",autoTrack:true});</script>
# - <script>!(function(c,i,e,b){var h=i.createElement("script");var f=i.getElementsByTagName("script")[0];h.type="text/javascript";h.crossorigin=true;h.onload=function(){new c[b]["Monitor"]().init({id:"JgUg7s8ImDkwb2V7",sendSuspicious:true});};f.parentNode.insertBefore(h,f);h.src=e;})(window,document,"https://sdk.51.la/perf/js-sdk-perf.min.js","LingQue");</script>
# - <script defer src="https://jsd.cdn.zzko.cn/gh/Gahotx/cdn@master/js/clipboard.min.js"></script>
# - <script defer src="https://cdn.jsdelivr.ren/gh/Gahotx/cdn@master/js/clipboard.min.js"></script>
- <script defer src="/js/custom.js"></script>
# - <script defer src="https://cc.instatus.com/widget/script.js"></script>
# - <script defer src='https://api.vvhan.com/api/snow'></script>
# - <script defer src="https://api.vvhan.com/api/denglong"></script>
# - <script defer src="https://jsd.cdn.zzko.cn/npm/jquery/dist/jquery.min.js"></script>
# - <script defer src="https://cdn.jsdelivr.ren/npm/jquery/dist/jquery.min.js"></script>
# - <script defer id="rrbayJs" src="//wza.rrbay.com/js/wza.min.js?bw" type="text/javascript"></script>
# - <div id="music" key="6208da041a763" api="https://music.mx142.ltd"></div><script id="xplayer" src="https://music.mx142.ltd/Static/player4/js/player.js" ></script>

Expand All @@ -1084,7 +1084,7 @@ CDN:
# Custom format
# For example: https://cdn.staticfile.org/${cdnjs_name}/${version}/${min_cdnjs_file}
# https://cdn.jsdelivr.net/npm/${name}${verType}/${min_file}
custom_format: https://jsd.cdn.zzko.cn/npm/${name}/${file}
custom_format: https://cdn.jsdelivr.ren/npm/${name}/${file}
# Add version number to CDN, true or false
version: false
option:
Expand Down Expand Up @@ -1141,4 +1141,4 @@ CDN:
# prismjs_autoloader:

# other
ccknbc: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/js/ccknbc.js
ccknbc: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/js/ccknbc.js
48 changes: 24 additions & 24 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ feed:
content_limit: false
content_limit_delim: " "
order_by: -updated
icon: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/logo.png
icon: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/logo.png
autodiscovery: true
template:
- ./source/_data/atom.xml
Expand Down Expand Up @@ -245,31 +245,31 @@ mmedia:
default:
controls: true
aplayer:
js: https://jsd.cdn.zzko.cn/npm/aplayer/dist/APlayer.min.js
css: https://jsd.cdn.zzko.cn/npm/aplayer/dist/APlayer.min.css
js: https://cdn.jsdelivr.ren/npm/aplayer/dist/APlayer.min.js
css: https://cdn.jsdelivr.ren/npm/aplayer/dist/APlayer.min.css
default:
contents:
lrcType: 3
meting:
js: https://jsd.cdn.zzko.cn/npm/meting/dist/Meting.min.js
js: https://cdn.jsdelivr.ren/npm/meting/dist/Meting.min.js
api:
default:
dplayer:
js: https://jsd.cdn.zzko.cn/npm/dplayer/dist/DPlayer.min.js
hls_js: https://jsd.cdn.zzko.cn/npm/hls.js/dist/hls.min.js
dash_js: https://jsd.cdn.zzko.cn/npm/dashjs/dist/dash.all.min.js
shaka_dash_js: https://jsd.cdn.zzko.cn/npm/shaka-player/dist/shaka-player.compiled.js
flv_js: https://jsd.cdn.zzko.cn/npm/flv.js/dist/flv.min.js
webtorrent_js: https://jsd.cdn.zzko.cn/npm/webtorrent/webtorrent.min.js
js: https://cdn.jsdelivr.ren/npm/dplayer/dist/DPlayer.min.js
hls_js: https://cdn.jsdelivr.ren/npm/hls.js/dist/hls.min.js
dash_js: https://cdn.jsdelivr.ren/npm/dashjs/dist/dash.all.min.js
shaka_dash_js: https://cdn.jsdelivr.ren/npm/shaka-player/dist/shaka-player.compiled.js
flv_js: https://cdn.jsdelivr.ren/npm/flv.js/dist/flv.min.js
webtorrent_js: https://cdn.jsdelivr.ren/npm/webtorrent/webtorrent.min.js
default:
contents:
artplayer:
js: https://jsd.cdn.zzko.cn/npm/artplayer/dist/artplayer.js
hls_js: https://jsd.cdn.zzko.cn/npm/hls.js/dist/hls.min.js
dash_js: https://jsd.cdn.zzko.cn/npm/dashjs/dist/dash.all.min.js
shaka_dash_js: https://jsd.cdn.zzko.cn/npm/shaka-player/dist/shaka-player.compiled.js
flv_js: https://jsd.cdn.zzko.cn/npm/flv.js/dist/flv.min.js
webtorrent_js: https://jsd.cdn.zzko.cn/npm/webtorrent/webtorrent.min.js
js: https://cdn.jsdelivr.ren/npm/artplayer/dist/artplayer.js
hls_js: https://cdn.jsdelivr.ren/npm/hls.js/dist/hls.min.js
dash_js: https://cdn.jsdelivr.ren/npm/dashjs/dist/dash.all.min.js
shaka_dash_js: https://cdn.jsdelivr.ren/npm/shaka-player/dist/shaka-player.compiled.js
flv_js: https://cdn.jsdelivr.ren/npm/flv.js/dist/flv.min.js
webtorrent_js: https://cdn.jsdelivr.ren/npm/webtorrent/webtorrent.min.js
default:
style: width:344px;height:193.5px
contents:
Expand Down Expand Up @@ -331,14 +331,14 @@ tag_plugins:
priority: 5 #过滤器优先权
issues: false #issues标签开关
link:
placeholder: https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/logo.png #link_card标签默认的图标图片
placeholder: https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/logo.png #link_card标签默认的图标图片
CDN:
anima: https://jsd.cdn.zzko.cn/npm/hexo-butterfly-tag-plugins-plus/lib/assets/font-awesome-animation.min.css #动画标签anima的依赖
# jquery: https://jsd.cdn.zzko.cn/npm/jquery/dist/jquery.min.js #issues标签依赖
# issues: https://jsd.cdn.zzko.cn/npm/hexo-butterfly-tag-plugins-plus/lib/assets/issues.js #issues标签依赖
anima: https://cdn.jsdelivr.ren/npm/hexo-butterfly-tag-plugins-plus/lib/assets/font-awesome-animation.min.css #动画标签anima的依赖
# jquery: https://cdn.jsdelivr.ren/npm/jquery/dist/jquery.min.js #issues标签依赖
# issues: https://cdn.jsdelivr.ren/npm/hexo-butterfly-tag-plugins-plus/lib/assets/issues.js #issues标签依赖
iconfont: false #参看https://akilar.top/posts/d2ebecef/
carousel: false #https://jsd.cdn.zzko.cn/npm/hexo-butterfly-tag-plugins-plus/lib/assets/carousel-touch.js
tag_plugins_css: https://jsd.cdn.zzko.cn/npm/hexo-butterfly-tag-plugins-plus/lib/tag_plugins.css
carousel: false #https://cdn.jsdelivr.ren/npm/hexo-butterfly-tag-plugins-plus/lib/assets/carousel-touch.js
tag_plugins_css: https://cdn.jsdelivr.ren/npm/hexo-butterfly-tag-plugins-plus/lib/tag_plugins.css

wowjs:
enable: false #控制动画开关。true是打开,false是关闭
Expand All @@ -364,7 +364,7 @@ readmore:
# 已申请的微信公众号回复关键词
keyword: "blog"
# 已申请的微信公众号二维码链接
qrcode: "https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/logo/wechat.svg"
qrcode: "https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/logo/wechat.svg"
# 自定义的 JS 资源链接,可用于 CDN 加速
libUrl: "https://qiniu.techgrow.cn/readmore/dist/readmore.js"
# 自定义的 CSS 资源链接,可用于适配不同风格的博客
Expand Down Expand Up @@ -405,7 +405,7 @@ webpushr:
# 如果您的仓库私有,则无需担心此问题

trackingCode: "BB9Y-w9p3u0CKA7UP9nupB6I-_NqE2MuODmKJjyC4W2YflX06Ff_hEhrNJfonrut5l6gCa28gC83q2OII7Qv-oA"
icon: "https://jsd.cdn.zzko.cn/gh/ccknbc-backup/cdn/image/pwa/192.png" # 必须为192*192 png图片
icon: "https://cdn.jsdelivr.ren/gh/ccknbc-backup/cdn/image/pwa/192.png" # 必须为192*192 png图片
# auto_hide: "0" # 默认为 1,代表true,即自动隐藏
# sort: "date" # 默认为updated,即只要最新文章更改了更新时间即推送新文章,改为date即文章第一次发布时间
# delay: "30" # 延时推送,考虑到CDN缓存更新,默认定时为在 hexo d 10分钟后推送,单位为分钟(最短时间为5min)
Expand Down
7 changes: 1 addition & 6 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
"extends": [
"config:base"
],
"gitAuthor": "CCKNBC <[email protected]>",
"gitAuthor": "CCKNBC<[email protected]>",
"prHourlyLimit": 3,
"force": {
"constraints": {
"node-fetch": "2.6.7"
}
},
"automerge": true,
"automergeType": "branch",
"pruneBranchAfterAutomerge": true
Expand Down
2 changes: 1 addition & 1 deletion scaffolds/sw-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ module.exports.replaceList = {
// 下面这个例子是把所有 jsd 的链接都重定向到甜莉的反代
jsd: {
source: ['//cdn.jsdelivr.net', '//test1.jsdelivr.net', '//gcore.jsdelivr.net'],
dist: '//jsd.cdn.zzko.cn'
dist: '//cdn.jsdelivr.ren'
}
}
2 changes: 1 addition & 1 deletion scaffolds/workbox-sw-beta.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
importScripts('https://jsd.cdn.zzko.cn/npm/workbox-sw/build/workbox-sw.js');
importScripts('https://cdn.jsdelivr.ren/npm/workbox-sw/build/workbox-sw.js');
importScripts('https://cdn.webpushr.com/sw-server.min.js');

if (workbox) {
Expand Down
Loading

0 comments on commit 4900c0a

Please sign in to comment.