diff --git a/spring-boot-react-hello-world-with-routing/frontend/src/service/HelloWorldService.js b/spring-boot-react-hello-world-with-routing/frontend/src/service/HelloWorldService.js index 493fdf4..67b244b 100644 --- a/spring-boot-react-hello-world-with-routing/frontend/src/service/HelloWorldService.js +++ b/spring-boot-react-hello-world-with-routing/frontend/src/service/HelloWorldService.js @@ -1,6 +1,8 @@ import axios from 'axios' class HelloWorldService { + + //here http://localhost:8080/ replace it whith your spring boot address executeHelloWorldService() { return axios.get('http://localhost:8080/hello-world'); @@ -16,4 +18,4 @@ class HelloWorldService { } -export default new HelloWorldService() \ No newline at end of file +export default new HelloWorldService()