adding in real server address for get req

This commit is contained in:
Arjun Patel
2018-12-30 23:26:14 -08:00
parent 02a03e938c
commit 5e1196794e
+1 -1
View File
@@ -32,7 +32,7 @@ class App extends Component {
// Look for person's lat and lng in imported dataset
search = (e) => {
// get request to backend REST API
axios.get(`http://localhost:3000/physicianloc`, {
axios.get(`https://physiciansearch.herokuapp.com/physicianloc`, {
params: {
name: this.state.name
}