From 4acdd54954a17caf4f399a2207696dc0c65fce90 Mon Sep 17 00:00:00 2001 From: eericxu <2681350846@qq.com> Date: Fri, 13 Oct 2023 11:33:07 +0800 Subject: [PATCH] feat: set prod env --- .env | 2 +- src/lib/env.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index c70a53c..82c3811 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -API_BASE=https://pre-api.gtech.world +API_BASE=https://api-v2.gtech.world SCAN_BASE=https://explorer.gtech.world AICP_SOLUTIONS=https://gtech.world/solutions/automotive LABEL_CONTRACT=0x7BC6afe0cDc6DE9191dfC6d68A3bad45E270F695 diff --git a/src/lib/env.ts b/src/lib/env.ts index 4c7d1d6..63537bd 100644 --- a/src/lib/env.ts +++ b/src/lib/env.ts @@ -1,4 +1,4 @@ -export const API_BASE = process.env.API_BASE || 'https://pre-api.gtech.world'; +export const API_BASE = process.env.API_BASE || 'https://api-v2.gtech.world'; export const SCAN_BASE = process.env.SCAN_BASE || 'https://explorer.gtech.world'; export const AICP_SOLUTIONS = process.env.AICP_SOLUTIONS || 'https://gtech.world/solutions/automotive'; export const LABEL_CONTRACT = process.env.LABEL_CONTRACT || '0x7BC6afe0cDc6DE9191dfC6d68A3bad45E270F695';