mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
fix(Icons): fix cdn url
This commit is contained in:
@@ -50,7 +50,7 @@ function font() {
|
||||
}
|
||||
|
||||
function encodeWoff2(done) {
|
||||
const cdnPath = `https://img.yzcdn.cn/vant/${fontName}.woff2`;
|
||||
const cdnPath = `https://img01.yzcdn.cn/vant/${fontName}.woff2`;
|
||||
const srcFile = join(srcDir, 'index.less');
|
||||
const woff2Base64 = fs.readFileSync(`../src/${fontName}.woff2`, 'base64');
|
||||
const woff2DataUrl = `data:font/ttf;base64,${woff2Base64}`;
|
||||
|
Reference in New Issue
Block a user