Skip to content

Commit 65b335c

Browse files
committed
Use complete example in readme
1 parent 76e9f9f commit 65b335c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ npm start
7171

7272
**NB: To run the interface locally you will need to modify the endpoint root path and enable CORS.**
7373

74-
The endpoint root path can be found in .env.development, defined as environment variable 'REACT_APP_ENDPOINT_ROOT'. This needs to be the root URL of the device running the back end, for example:
74+
The endpoint root path can be found in .env.development, defined as the environment variable 'REACT_APP_ENDPOINT_ROOT'. This needs to be the root URL of the device running the back end, for example:
7575

7676
```
77-
"http://192.168.0.6/rest/".
77+
REACT_APP_ENDPOINT_ROOT=http://192.168.0.6/rest/
7878
```
7979

8080
CORS can be enabled on the back end by uncommenting the -D ENABLE_CORS build flag in platformio.ini and re-deploying.

0 commit comments

Comments
 (0)