diff --git a/libraries/ESP8266WebServer/examples/WebServer/secrets.h b/libraries/ESP8266WebServer/examples/WebServer/secrets.h index 094e0dfa7d..e1d39a5146 100644 --- a/libraries/ESP8266WebServer/examples/WebServer/secrets.h +++ b/libraries/ESP8266WebServer/examples/WebServer/secrets.h @@ -9,5 +9,10 @@ // ssid and passPhrase can be used when compiling for a specific environment as a 2. option. // add you wifi network name and PassPhrase or use WiFi Manager -const char *ssid = "KHMH"; -const char *passPhrase = "hk-2012FD2926"; +#ifndef STASSID +#define STASSID "ssid" +#define STAPSK "psk" +#endif + +const char *ssid = STASSID; +const char *passPhrase = STAPSK;