aboutsummaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
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}`