aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-07 14:51:15 -0400
committerIvan Chen <ivan@tagg.id>2021-04-07 14:51:15 -0400
commit8f974b2466d954cdac684d10f44cf7bab930a3ff (patch)
tree83e0ed85f3cff8ca8006a227daf70fadd94b0e30 /src/constants/api.ts
parentaddafa43ed6767fa012087447fa074b84b314ec4 (diff)
updated api key
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index 22890c33..ffe47687 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -1,6 +1,12 @@
/* eslint-disable */
-// const BASE_URL: string = 'http://3.22.188.127/'; // prod server
-const BASE_URL: string = 'http://127.0.0.1:8000/'; // local server
+
+// Dev
+const BASE_URL: string = 'http://127.0.0.1:8000/';
+export const STREAM_CHAT_API = 'g2hvnyqx9cmv'
+
+// Prod
+// const BASE_URL: string = 'http://app-prod.tagg.id/';
+// export const STREAM_CHAT_API = 'ur3kg5qz8x5v'
const API_URL: string = BASE_URL + 'api/';
export const LOGIN_ENDPOINT: string = API_URL + 'login/';