diff options
| author | Ryan Mehri <[email protected]> | 2020-05-25 23:09:20 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-05-25 23:09:20 -0600 |
| commit | a104b512efb599d83c046dbea95379669b87bb8c (patch) | |
| tree | 403e10b4ec1ebc78d7e6f16d1f50f299c973e242 /frontend/src | |
| parent | Merge pull request #32 from jackyzha0/latex-renderer (diff) | |
| parent | update makefile and readme (diff) | |
| download | ctrl-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.js | 2 | ||||
| -rw-r--r-- | frontend/src/helpers/httpHelper.js | 4 |
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}` |