diff --git a/src/main/java/com/example/ecsfgex/controller/IndexController.java b/src/main/java/com/example/ecsfgex/controller/IndexController.java index 50abb63..021e9ae 100644 --- a/src/main/java/com/example/ecsfgex/controller/IndexController.java +++ b/src/main/java/com/example/ecsfgex/controller/IndexController.java @@ -22,6 +22,7 @@ public class IndexController { String index(Model model) { model.addAttribute("contents", contents); model.addAttribute("envMap", new TreeMap(System.getenv())); + model.addAttribute("availableProcessors", Runtime.getRuntime().availableProcessors()); return "index"; } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 4f716f5..c280cd9 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -10,7 +10,7 @@

ecsfgex default text on thymeleaf template!!

-

ああああああああ

+