tomjon / piSpecMon

Raspberry Pi scanner controller
GNU General Public License v2.0
1 stars 0 forks source link

Checkbox on login page that allows loading libraries from WWW or from Pi #71

Closed tomjon closed 7 years ago

tomjon commented 7 years ago

Currently, if run in debug mode, libraries are loaded from the Pi. This would also be useful in certain circumstances in production (WWW being quicker and more convenient if internet is available).

tomjon commented 7 years ago

The checkbox can default to loading from WWW in production and default to loading from Pi in debug.

tomjon commented 7 years ago

#71

tomjon commented 7 years ago

Rather than adding a checkbox, simply allow use of index-local.html in URL (e.g. 10.10.10.10/static/index-local.html)