lcommons / enviromonitor

0 stars 0 forks source link

refresh should be asyncronous #1

Closed lcommons closed 4 years ago

lcommons commented 5 years ago

currently the /refresh operation calls the python script to generate a new HTML page, but it doesn't wait for the new page to be generated. Maybe when /refresh is called return a page that displays a spinner until the new page is ready.

lcommons commented 4 years ago

page updates every minute. web server serves whatever is in /var/www/html .