minor change on docs

This commit is contained in:
Sam
2019-07-20 13:18:39 +02:00
parent 3c1d665164
commit 75ceb3cf3c
3 changed files with 2 additions and 171 deletions

View File

@ -1,13 +0,0 @@
Troubleshooting
###############
Administrator
~~~~~~~~~~~~~
`JSON.parse: unexpected character at line 1 column 1 of the JSON data`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On the **Network Tab**, if the requests are made to `http://localhost:3000/undefined/api`, that means the environnement variable **REACT_APP_API_URL** is not initialized.
Check if **Makefile.custom.config** file exists and **REACT_APP_API_URL** is correctly initialized (see [example](https://github.com/SamR1/FitTrackee/blob/master/Makefile.custom.config.example)), and rebuild the client.