mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
fix: Enable CDN SSL
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'fusion-pixel';
|
||||
src: url('../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2');
|
||||
src: url('../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-family: 'fontello';
|
||||
src: url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880');
|
||||
src: url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880#iefix') format('embedded-opentype'),
|
||||
url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.woff?77128880') format('woff'),
|
||||
url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.ttf?77128880') format('truetype'),
|
||||
url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.svg?77128880#fontello') format('svg');
|
||||
src: url('../../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880');
|
||||
src: url('../../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880#iefix') format('embedded-opentype'),
|
||||
url('../../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.woff?77128880') format('woff'),
|
||||
url('../../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.ttf?77128880') format('truetype'),
|
||||
url('../../https://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.svg?77128880#fontello') format('svg');
|
||||
}
|
||||
|
||||
.meplayer-container {
|
||||
|
||||
@@ -40,7 +40,7 @@ function setTheme() {
|
||||
|
||||
const logo = document.querySelector(".main-logo-img")
|
||||
if (logo !== null) {
|
||||
logo.style.setProperty("background-image", `url(http://molly-blog.cdn.yvling.cn/assets/img/logo-${theme}-theme.png)`);
|
||||
logo.style.setProperty("background-image", `url(https://molly-blog.cdn.yvling.cn/assets/img/logo-${theme}-theme.png)`);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ function replaceCssFile() {
|
||||
const links = document.querySelectorAll('link[rel="stylesheet"]');
|
||||
for (const link of links) {
|
||||
if (link.href.includes(oldHref)) {
|
||||
link.href = "http://molly-blog.cdn.yvling.cn/assets/css/lib/" + newHref;
|
||||
link.href = "https://molly-blog.cdn.yvling.cn/assets/css/lib/" + newHref;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
|
||||
var musicConf = options.music, target = selector.$(options.target) || document.querySelector('.meplayer'),
|
||||
theme = options.theme || _constants.THEME_DEFAULT, hasLrc = !!musicConf.lrc,
|
||||
coverSrc = musicConf.cover || '../../http://molly-blog.cdn.yvling.cn/assets/img/music.png', loop = musicConf.loop || false,
|
||||
coverSrc = musicConf.cover || '../../https://molly-blog.cdn.yvling.cn/assets/img/music.png', loop = musicConf.loop || false,
|
||||
autoplay = options.autoplay,
|
||||
currentThemeClass = theme === _constants.THEME_DEFAULT ? 'meplayer-container' : 'meplayer-container-mini',
|
||||
containerClass = currentThemeClass + ' ' + (hasLrc ? 'meplayer-haslrc' : '') + ' meplayer-isloading';
|
||||
|
||||
Reference in New Issue
Block a user