Skip to content

Commit

Permalink
change db(h2 to mariaDB)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuyh99 committed Apr 25, 2022
1 parent 6c2ae62 commit 4979069
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@
@Controller
public class CustomErrorPageController implements ErrorController {

@RequestMapping("/error")
public String goHome() {
private static final String PATH = "/error";

@RequestMapping(value = PATH)
public String error() {
return "index";
}

public String getErrorPath() {
return PATH;
}
}

0 comments on commit 4979069

Please sign in to comment.