Skip to content

Commit

Permalink
feat: "/"로 끝나는 임시 페이지 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
khee2 committed Jul 23, 2024
1 parent b4734b0 commit bdca119
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.solucitation.midpoint_backend.global.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {
@GetMapping("/")
public String home() {
return "index";
}
}

9 changes: 9 additions & 0 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<title>Midpoint</title>
</head>
<body>
<h1>안녕하세요 midpoint입니다.</h1>
</body>
</html>

0 comments on commit bdca119

Please sign in to comment.