修复图片出问题

This commit is contained in:
expdsn 2024-11-11 18:43:13 +08:00
parent a627a4b0ec
commit d89f7f3d8c
2 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ export const ossCdnBase = import.meta.env.PROD ? ossBase : ossBase
// 后端地址
export const apiBase = import.meta.env.PROD
? 'http://106.15.37.113:8300'
? 'https://goosetab.com/api'
: 'http://192.168.110.28:8300'
// 后端 cdn 加速地址

View File

@ -12,25 +12,25 @@ const defaultSearchList: SearchInfo[] = [
{
name: '百度',
url: 'https://www.baidu.com/s?wd=',
icon: 'tab/searchIcons/baidu.png',
icon: import.meta.env.PROD ? '/tab/searchIcons/baidu.png' : 'tab/searchIcons/baidu.png',
show: true
},
{
name: '必应',
url: 'https://cn.bing.com/search?q=',
icon: 'tab/searchIcons/bing.png',
icon: import.meta.env.PROD ? '/tab/searchIcons/bing.png' : 'tab/searchIcons/bing.png',
show: true
},
{
name: '谷歌',
url: 'https://www.google.com/search?q=',
icon: 'tab/searchIcons/google.png',
icon: import.meta.env.PROD ? '/tab/searchIcons/google.png' : 'tab/searchIcons/google.png',
show: true
},
{
name: '360',
url: 'https://www.so.com/s?q=',
icon: 'tab/searchIcons/360.png',
icon: import.meta.env.PROD ? '/tab/searchIcons/360.png' : 'tab/searchIcons/360.png',
show: true
}