doctorames / fishtank

0 stars 0 forks source link

Dependency on working internet for fw upgrade #13

Open doctorames opened 3 years ago

doctorames commented 3 years ago

The upgrade page uses jquery. It gets jquery from googleapis.com: <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>

This means that the controller needs to be able to access this url to pull down jquery. Which means if the internet is down, OTA no worky!

doctorames commented 3 years ago

Take a look at the mute branch. There, I found a way to call arduino code in response to a web page button click without jquery. Just pure, native javascript. Maybe I can apply those principals here to eliminate jquery.