working out curl errors
working out curl errors
adding 404 handling
slight update to 404 error page
setting callback to func on 404 not, console.log