Fork of the excellent esp8266-react - https://github.com/rjwats/esp8266-react
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
664 B

  1. const ENDPOINT_ROOT = process.env.REACT_APP_ENDPOINT_ROOT;
  2. export const NTP_STATUS_ENDPOINT = ENDPOINT_ROOT + "ntpStatus";
  3. export const NTP_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "ntpSettings";
  4. export const AP_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "apSettings";
  5. export const AP_STATUS_ENDPOINT = ENDPOINT_ROOT + "apStatus";
  6. export const SCAN_NETWORKS_ENDPOINT = ENDPOINT_ROOT + "scanNetworks";
  7. export const LIST_NETWORKS_ENDPOINT = ENDPOINT_ROOT + "listNetworks";
  8. export const WIFI_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "wifiSettings";
  9. export const WIFI_STATUS_ENDPOINT = ENDPOINT_ROOT + "wifiStatus";
  10. export const OTA_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "otaSettings";