Skip to content

Commit

Permalink
Fixed app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncoon committed Mar 20, 2022
1 parent fc90f57 commit 27d560d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions esp8266-fastled-webserver/data/js/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// used when hosting the site on the ESP8266
// var address = location.hostname;
// var urlBase = "";
var address = location.hostname;
var urlBase = "";

// used when hosting the site somewhere other than the ESP8266 (handy for testing without waiting forever to upload to SPIFFS/LittleFS)
var address = "192.168.86.36";
var urlBase = "http://" + address + "/";
// var address = "192.168.86.36";
// var urlBase = "http://" + address + "/";

var postColorTimer = {};
var postValueTimer = {};
Expand Down

0 comments on commit 27d560d

Please sign in to comment.