using heroku api

master
Matt Huntington 5 years ago
parent f4e5ba8bc6
commit d337d1bdb7

@ -91,7 +91,7 @@ const updateSavedPreviousSeconds = () => {
const postToAPI = ()=>{ const postToAPI = ()=>{
if(savedPreviousSeconds > 0){ if(savedPreviousSeconds > 0){
fetch('http://localhost:8000/api/sessions',{ fetch('https://shrouded-depths-07664.herokuapp.com/api/sessions',{
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'

Loading…
Cancel
Save