Skip to content

Commit 63291f2

Browse files
authored
Merge pull request #16 from nikhilsreeni29/patch-1
Update HelloWorldService.js
2 parents 5b38a2b + de542a1 commit 63291f2

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

+3-1
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)