Skip to content

Commit de542a1

Browse files
Update HelloWorldService.js
1 parent 181214a commit de542a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-boot-react-hello-world-with-routing/frontend/src/service/HelloWorldService.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import axios from 'axios'
22

33
class HelloWorldService {
4+
5+
//here http://localhost:8080/ replace it whith your spring boot address
46

57
executeHelloWorldService() {
68
return axios.get('http://localhost:8080/hello-world');
@@ -16,4 +18,4 @@ class HelloWorldService {
1618

1719
}
1820

19-
export default new HelloWorldService()
21+
export default new HelloWorldService()

0 commit comments

Comments
 (0)