added web template
This commit is contained in:
12
src/main/java/nl/herpiederpiee/appie_scraper/WebServer.java
Normal file
12
src/main/java/nl/herpiederpiee/appie_scraper/WebServer.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package nl.herpiederpiee.appie_scraper;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
@Controller
|
||||
public class WebServer {
|
||||
@GetMapping("/")
|
||||
public String index() {
|
||||
return "index"; // resolves to index.html in templates/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user