mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
refactor(assets): 简化图标文件名并更新引用路径
将原长格式图标文件名简化为短格式,并更新组件中的引用路径 删除旧图标文件,添加新图标文件
This commit is contained in:
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
@@ -95,11 +95,11 @@ try {
|
||||
let iconSrc = null;
|
||||
|
||||
if (serverLower.includes('esa')) {
|
||||
iconSrc = '/cdn/Hosted-ESA-#FF6A00.svg';
|
||||
iconSrc = '/cdn/esa.svg';
|
||||
} else if (serverLower.includes('edgeone')) {
|
||||
iconSrc = '/cdn/Hosted-EdgeOne-#00a3ff.svg';
|
||||
iconSrc = '/cdn/eo.svg';
|
||||
} else if (serverLower.includes('cloudflare')) {
|
||||
iconSrc = '/cdn/Hosted-Cloudflare-#F48120.svg';
|
||||
iconSrc = '/cdn/cf.svg';
|
||||
}
|
||||
|
||||
if (iconSrc) {
|
||||
|
||||
Reference in New Issue
Block a user