From c256efc11a3f586b13f4af79f9cfe5d0561be160 Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Sun, 26 Feb 2023 21:15:56 +0800 Subject: [PATCH] refactor: local_dev --- src/app/config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/config.ts b/src/app/config.ts index 87e97b52..bf1552e9 100644 --- a/src/app/config.ts +++ b/src/app/config.ts @@ -12,10 +12,11 @@ let prices: Price[] = [ } ]; -// export const BASE_ORIGIN = `http://localhost:3333`; +const local_dev = `https://dev.voce.chat`; +// const local_dev = `http://localhost:3333`; export const BASE_ORIGIN = process.env.REACT_APP_RELEASE ? `${location.origin}` - : `https://dev.voce.chat`; + : local_dev; const BASE_URL = `${BASE_ORIGIN}/api`; export const getLicensePriceList = () => { const ps = prices.map((p, idx) => {