xyyd-fatfox/src/config.ts

69 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-09-09 17:53:07 +08:00
export const aIUrl = 'https://metaso.cn/?s=uitab&referrer_s=uitab&q='
export const translateUrl = 'https://fanyi.baidu.com/mtpe-individual/multimodal?lang=zh2en&query='
2024-09-13 12:19:12 +08:00
// oss地址
2024-09-09 17:53:07 +08:00
export const ossBase = import.meta.env.PROD
2024-11-12 18:09:34 +08:00
? 'https://newfatfox.oss-cn-beijing.aliyuncs.com'
: 'https://newfatfox.oss-cn-beijing.aliyuncs.com'
2024-10-28 18:51:44 +08:00
// 前端地址
2024-11-12 18:09:34 +08:00
export const frontAddress = import.meta.env.PROD ? 'http://goosetab.com' : 'http://goosetab.com'
2024-09-11 13:46:40 +08:00
2024-09-13 12:19:12 +08:00
// oss cdn 加速地址
2024-11-12 18:09:34 +08:00
export const ossCdnBase = import.meta.env.PROD
? 'https://oss.goosetab.com'
: 'https://oss.goosetab.com'
2024-09-13 12:19:12 +08:00
2024-09-13 10:15:43 +08:00
// 后端地址
2024-09-11 13:46:40 +08:00
export const apiBase = import.meta.env.PROD
2024-11-11 18:43:13 +08:00
? 'https://goosetab.com/api'
2024-09-11 13:46:40 +08:00
: 'http://192.168.110.28:8300'
2024-11-13 19:51:52 +08:00
// eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NzJkYjg5OGUxMjY5NDc1ODYwMmYwMTgifQ.8fpdr_HPgxyU0yr-8f6nGdbHYjsFRlBa2lvjc0Zhe-A
2024-09-13 12:19:12 +08:00
// 图片后缀名
export const imgArr = [
'bmp',
'cod',
'gif',
'lef',
'jpe',
'jpeg',
'jpg',
'jfif',
'svg',
'tif',
'tiff',
'ras',
'cmx',
'ico',
'pnm',
'pbm',
'pgm',
'rgb',
'xbm',
'xpm',
'xwd',
'png'
]
// 视频后缀名
export const videoArr = [
'mp4',
'mpg',
'mpeg',
'mpe',
'qt',
'mov',
'm4v',
'wmv',
'avi',
'webm',
'flv',
'mp2',
'mpa',
'mpv2',
'lsf',
'lsx',
'asf',
'asr',
'asx',
'movie'
]