diff --git a/README.md b/README.md index 8b0bd7a..5d35e3f 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,14 @@ Check it out at https://vytal.io # Dev -Backend setup: +Backend Django setup: ``` cd backend python manage.py runserver ``` -Frontend setup: +Frontend React setup: ``` cd frontend diff --git a/frontend/src/components/FingerprintBlock.js b/frontend/src/components/FingerprintBlock.js index 8c8cfaf..15e3b5a 100644 --- a/frontend/src/components/FingerprintBlock.js +++ b/frontend/src/components/FingerprintBlock.js @@ -11,7 +11,7 @@ const FingerprintBlock = () => { useEffect(() => { axios - .get(`http://localhost:8000/fingerprint/?hash=${hash}`) + .get(`https://api.vytal.io/fingerprint/?hash=${hash}`) .then((response) => { if (response.data.length !== 0) { setName(response.data[response.data.length - 1].name); @@ -22,7 +22,7 @@ const FingerprintBlock = () => { const handleSave = (e) => { e.preventDefault(); - axios.post('http://localhost:8000/fingerprint/', { + axios.post('https://api.vytal.io/fingerprint/', { name: e.target[0].value, hash, }); @@ -134,10 +134,10 @@ const FingerprintBlock = () => { )}
- Explanation: This is a unique identifier that can be - used to follow you around the web. Even if you clear cookies, change - your IP or use private mode the hash will stay the same. Enter - your name below and reload the page in private mode to test it out. + Explanation: This is a unique identifier that can be used to + follow you around the web. Even if you clear cookies, change your IP or + use private mode the hash will stay the same. Enter your name below and + reload the page in private mode to test it out.
{saved ? (Success! Re-scan browser.
diff --git a/frontend/src/components/MainColumn.js b/frontend/src/components/MainColumn.js index 2f612a0..d06c105 100644 --- a/frontend/src/components/MainColumn.js +++ b/frontend/src/components/MainColumn.js @@ -9,11 +9,7 @@ const MainColumn = () => {