add dns records to the server response
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 3m4s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 3m4s
This commit is contained in:
@ -12,14 +12,14 @@ public class HomeController {
|
||||
/**
|
||||
* The example UUID.
|
||||
*/
|
||||
@SuppressWarnings("FieldCanBeLocal")
|
||||
private final String exampleUuid = "eeab5f8a-18dd-4d58-af78-2b3c4543da48";
|
||||
private final String exampleServer = "eeab5f8a-18dd-4d58-af78-2b3c4543da48";
|
||||
|
||||
@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() + "/server/java/play.hypixel.net");
|
||||
model.addAttribute("swagger_url", Config.INSTANCE.getWebPublicUrl() + "/swagger-ui.html");
|
||||
model.addAttribute("java_server_example_url", Config.INSTANCE.getWebPublicUrl() + "/server/java/" + exampleServer);
|
||||
model.addAttribute("swagger_url", Config.INSTANCE.getWebPublicUrl() + "/docs");
|
||||
return "index";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user