Change API url to tools-api.tannercollin.com

This commit is contained in:
Tanner Collin 2018-09-11 20:45:20 -06:00
parent 56ef19708d
commit d65ebb1877

View File

@ -6,7 +6,7 @@
const char* WIFI_SSID = "Protospace";
const char* WIFI_PASS = "yycmakers";
char wifiMACAddr[18];
const String API_ROUTE = String("http://tools.protospace.ca:8080/api/lockout/");
const String API_ROUTE = String("http://tools-api.tannercollin.com/api/lockout/");
#define RELAY_PIN D1
#define ON_BUTTON_PIN D3
@ -15,7 +15,7 @@ const String API_ROUTE = String("http://tools.protospace.ca:8080/api/lockout/");
#define ON_LED_PIN D6
#define OFF_LED_PIN D7
#define RELAY_CLOSED LOW
#define RELAY_CLOSED HIGH
#define RELAY_OPEN !RELAY_CLOSED
#define BUTTON_CLOSED LOW
#define BUTTON_OPEN !BUTTON_CLOSED