From c7fe26ef8f77cc13be077ee06dd6058f7eadb55a Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 10 Apr 2024 08:34:43 +0100 Subject: [PATCH] add server example to main page --- src/main/java/cc.fascinated/controller/HomeController.java | 1 + src/main/resources/templates/index.html | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/cc.fascinated/controller/HomeController.java b/src/main/java/cc.fascinated/controller/HomeController.java index 854c1f6..df10912 100644 --- a/src/main/java/cc.fascinated/controller/HomeController.java +++ b/src/main/java/cc.fascinated/controller/HomeController.java @@ -18,6 +18,7 @@ public class HomeController { @RequestMapping(value = "/") public String home(Model model) { model.addAttribute("player_example_url", Config.INSTANCE.getWebPublicUrl() + "/player/" + exampleUuid); + model.addAttribute("java_server_example_url", Config.INSTANCE.getWebPublicUrl() + "/java/play.hypixel.net"); return "index"; } } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 5adc0a7..a2494bc 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -21,6 +21,7 @@

Player Data: ???

+

Java Server: ???

\ No newline at end of file