12 lines
721 B
JavaScript
12 lines
721 B
JavaScript
const ENDPOINT_ROOT = process.env.REACT_APP_ENDPOINT_ROOT;
|
|
|
|
export const NTP_STATUS_ENDPOINT = ENDPOINT_ROOT + "ntpStatus";
|
|
export const NTP_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "ntpSettings";
|
|
export const AP_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "apSettings";
|
|
export const AP_STATUS_ENDPOINT = ENDPOINT_ROOT + "apStatus";
|
|
export const SCAN_NETWORKS_ENDPOINT = ENDPOINT_ROOT + "scanNetworks";
|
|
export const LIST_NETWORKS_ENDPOINT = ENDPOINT_ROOT + "listNetworks";
|
|
export const WIFI_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "wifiSettings";
|
|
export const WIFI_STATUS_ENDPOINT = ENDPOINT_ROOT + "wifiStatus";
|
|
export const OTA_SETTINGS_ENDPOINT = ENDPOINT_ROOT + "otaSettings";
|
|
export const SIGN_IN_ENDPOINT = ENDPOINT_ROOT + "signIn"; |