aboutsummaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-25 21:55:50 -0700
committerjackyzha0 <[email protected]>2020-05-25 21:55:50 -0700
commitc6a2a1e93179675c50743014933b74f8733c667d (patch)
tree13b914750a639abf741fe82df5469e31e9309d82 /frontend/src
parentadd firebase init (diff)
downloadctrl-v-c6a2a1e93179675c50743014933b74f8733c667d.tar.xz
ctrl-v-c6a2a1e93179675c50743014933b74f8733c667d.zip
add more build commands and added prod backend url
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/helpers/httpHelper.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/helpers/httpHelper.js b/frontend/src/helpers/httpHelper.js
index 28704f5..0c7c295 100644
--- a/frontend/src/helpers/httpHelper.js
+++ b/frontend/src/helpers/httpHelper.js
@@ -1,6 +1,8 @@
import axios from 'axios';
-const base = `http://localhost:8080/api`
+// uncomment for local dev
+// const base = `http://localhost:8080/api`
+const base = `https://api.ctrl-v.app/api`
export function FetchPaste(hash) {
const serverURL = `${base}/${hash}`