返回 AiToEarn
constant.ts
根目录 / project / aitoearn-web / src / constant.ts
1 // 代理地址
2 export const ProxyUrls = [
3 '/api/',
4 ]
5
6 // 联系方式
7 export const CONTACT = 'agent@aiearn.ai'
8
9 // true=国内
10 export const isChina = process.env.NEXT_PUBLIC_REGION === 'Domestic'
11
12 // 测试服 API 地址
13 export const TEST_API_URL = 'https://dev.aitoearn.ai/api'
14
15 // 当前是否为测试服
16 export const isTestApiServer = process.env.NEXT_PUBLIC_API_URL === TEST_API_URL
17
18 // 当前是否为开发/测试环境
19 export const isDevOrTestEnv = process.env.NEXT_PUBLIC_EVN === 'dev' || isTestApiServer
20
21 // 浏览器插件最新版本号
22 export const PluginVersionLast = '3.2.6'
23
23 lines TYPESCRIPT