source: src/main/java/com/example/medweb/web/Controller.java

Last change on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago

initial commit

  • Property mode set to 100644
File size: 263 bytes
Line 
1package com.example.medweb.web;
2
3
4import org.springframework.web.bind.annotation.GetMapping;
5
6
7
8
9@org.springframework.stereotype.Controller
10public class Controller {
11
12 @GetMapping({"/","/home"})
13 public String home(){
14
15 return "index.html";
16 }
17
18}
Note: See TracBrowser for help on using the repository browser.