mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
chore: 字体文件托管到云空间
This commit is contained in:
parent
f6f584a346
commit
b61b770ca1
@ -4,6 +4,6 @@ $fonts: 'SourceHanSans', 'SourceHanSerif', 'FangZhengHeiTi', 'FangZhengKaiTi', '
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: $font;
|
||||
src: url('../fonts/#{$font}.woff2') format('woff2');
|
||||
src: url('https://asset.pptist.cn/font/#{$font}.woff2') format('woff2');
|
||||
}
|
||||
}
|
@ -2,6 +2,6 @@ import axios from './config'
|
||||
|
||||
export default {
|
||||
getMockData(filename: string): Promise<any> {
|
||||
return axios.get(`/mocks/${filename}.json`)
|
||||
return axios.get(`./mocks/${filename}.json`)
|
||||
},
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user