local IPs for ESP32 and ESP8266 (CORS dev only)

This commit is contained in:
proddy
2020-07-08 12:30:25 +02:00
parent 88f6689d17
commit 14a64f97cf

View File

@@ -1,4 +1,10 @@
# Change the IP address to that of your ESP device to enable local development of the UI. # Change the IP address to that of your ESP device to enable local development of the UI.
# Remember to also enable CORS in platformio.ini before uploading the code to the device. # Remember to also enable CORS in platformio.ini before uploading the code to the device.
REACT_APP_HTTP_ROOT=http://10.10.10.140
REACT_APP_WEB_SOCKET_ROOT=ws://10.10.10.140 # ESP32 dev
REACT_APP_HTTP_ROOT=http://10.10.10.194
REACT_APP_WEB_SOCKET_ROOT=ws://10.10.10.194
# ESP8266 dev
#REACT_APP_HTTP_ROOT=http://10.10.10.140
#REACT_APP_WEB_SOCKET_ROOT=ws://10.10.10.140