adding in real server address for get req
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ class App extends Component {
|
|||||||
// Look for person's lat and lng in imported dataset
|
// Look for person's lat and lng in imported dataset
|
||||||
search = (e) => {
|
search = (e) => {
|
||||||
// get request to backend REST API
|
// get request to backend REST API
|
||||||
axios.get(`http://localhost:3000/physicianloc`, {
|
axios.get(`https://physiciansearch.herokuapp.com/physicianloc`, {
|
||||||
params: {
|
params: {
|
||||||
name: this.state.name
|
name: this.state.name
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user