mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 19:20:53 +08:00
fix: 修復主頁滾動, 頂部圖有延遲的 bug closed #1372
fix: 修復當設置搜索文件為xml時,搜索 < 和 > 沒有結果的 bug closed #1369 fix: 修復 CDN 的 custom_format 沒配置,preconnect 報錯的 bug closed #1371
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
'jsdelivr': '//cdn.jsdelivr.net',
|
||||
'cdnjs': '//cdnjs.cloudflare.com',
|
||||
'unpkg': '//unpkg.com',
|
||||
'custom': custom_format.match(/^((https?:)?(\/\/[^/]+)|([^/]+))(\/|$)/)[1]
|
||||
'custom': custom_format && custom_format.match(/^((https?:)?(\/\/[^/]+)|([^/]+))(\/|$)/)[1]
|
||||
}
|
||||
-
|
||||
|
||||
|
||||
Reference in New Issue
Block a user