added web template

This commit is contained in:
Valentijn van der Jagt
2025-12-29 22:53:42 +01:00
parent 2c125b4bfd
commit 1c2966b140
4 changed files with 41 additions and 11 deletions

View 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/
}
}