Skip to content
Snippets Groups Projects
Commit b8b298ab authored by 찬주 이's avatar 찬주 이
Browse files

React-Spring 통합과제

parent e74380a1
No related branches found
No related tags found
No related merge requests found
...@@ -26,10 +26,10 @@ public class MyspringwebController { ...@@ -26,10 +26,10 @@ public class MyspringwebController {
@Autowired @Autowired
MusicService service; MusicService service;
@RequestMapping("/") // @GetMapping("/")
public String index() { // public String index() {
return "Greetings from Spring Boot!"; // return "index"; // index.html 파일을 반환
} // }
@GetMapping(value="/musicSearch/{name}") @GetMapping(value="/musicSearch/{name}")
public MusicList musicSearchByPath(@PathVariable String name){ public MusicList musicSearchByPath(@PathVariable String name){
......
This diff is collapsed.
<!doctype html>
<html>
<head>
<title> muiBasic </title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
</head>
<body>
<div id="app"></div>
<script src="./app.bundle.js" type="text/javascript"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment