Skip to content

Commit

Permalink
add main page html and some static files + fix : add license + quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m4a1carbin4 committed Sep 29, 2023
1 parent 885d49e commit 27fda61
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/")
Expand All @@ -17,16 +18,16 @@ public class WebController {
* */
@GetMapping()
public String mainPage(){
return "/index.html";
return "/index";
}

@GetMapping("/index")
public String indexPage(){
return "/index.html";
return "/index";
}

@GetMapping("/contact")
public String contactPage(){
return "/contact.html";
return "/contact";
}
}

0 comments on commit 27fda61

Please sign in to comment.