a
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 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.
|
||||
REACT_APP_HTTP_ROOT=http://192.168.0.88
|
||||
REACT_APP_WEB_SOCKET_ROOT=ws://192.168.0.88
|
||||
REACT_APP_HTTP_ROOT=http://192.168.30.150
|
||||
REACT_APP_WEB_SOCKET_ROOT=ws://192.168.30.150
|
||||
|
||||
@@ -11,7 +11,7 @@ build_flags=
|
||||
${features.build_flags}
|
||||
-D NO_GLOBAL_ARDUINOOTA
|
||||
; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
|
||||
;-D ENABLE_CORS
|
||||
-D ENABLE_CORS
|
||||
-D CORS_ORIGIN=\"http://localhost:3000\"
|
||||
; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM
|
||||
-D PROGMEM_WWW
|
||||
|
||||
Reference in New Issue
Block a user