aboutsummaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorRyan Mehri <[email protected]>2020-05-25 23:09:20 -0600
committerGitHub <[email protected]>2020-05-25 23:09:20 -0600
commita104b512efb599d83c046dbea95379669b87bb8c (patch)
tree403e10b4ec1ebc78d7e6f16d1f50f299c973e242 /frontend/src
parentMerge pull request #32 from jackyzha0/latex-renderer (diff)
parentupdate makefile and readme (diff)
downloadctrl-v-a104b512efb599d83c046dbea95379669b87bb8c.tar.xz
ctrl-v-a104b512efb599d83c046dbea95379669b87bb8c.zip
Merge pull request #33 from jackyzha0/firebase
deploy
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/components/renderers/Latex.js2
-rw-r--r--frontend/src/helpers/httpHelper.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/renderers/Latex.js b/frontend/src/components/renderers/Latex.js
index 6915f75..dcb9ea3 100644
--- a/frontend/src/components/renderers/Latex.js
+++ b/frontend/src/components/renderers/Latex.js
@@ -20,8 +20,6 @@ class Latex extends React.Component {
}
}).flat()
- console.log(els)
-
// if <=1 lines, just render block
if (els.length <= 1) {
return (
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}`