From 87fccef77a45ed3567cfd8907c7a1ece5ebed33d Mon Sep 17 00:00:00 2001 From: surmon-china Date: Mon, 29 Oct 2018 13:23:30 +0800 Subject: [PATCH] =?UTF-8?q?fix=20css-loader=20=E5=A4=B1=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20and=20doDeploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/sass/common.scss | 2 +- assets/sass/variables.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/sass/common.scss b/assets/sass/common.scss index f7cb80aa7..4380e603c 100755 --- a/assets/sass/common.scss +++ b/assets/sass/common.scss @@ -1,7 +1,7 @@ @font-face { font-family: 'DINRegular'; - src: url('/fonts/DIN-Regular.ttf'); + src: url('#{$cdn-url}/fonts/DIN-Regular.ttf'); } /* 人面桃花山河入梦春尽江南富强民主文明和谐自由平等公正法治爱国敬业诚信友善 */ diff --git a/assets/sass/variables.scss b/assets/sass/variables.scss index 7d0a68806..f2e20769d 100755 --- a/assets/sass/variables.scss +++ b/assets/sass/variables.scss @@ -1,3 +1,5 @@ +// cdn +$cdn-url: 'https://cdn.surmon.me'; // PC Theme Color $body-bg: var(--body-bg);