From a7825dede977692c0418119159090290e4f6ac34 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 26 Apr 2018 09:39:49 +0300 Subject: www: fix redirect after command --- .../src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-www/src/main/java/com/juick/www/configuration') diff --git a/juick-www/src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java b/juick-www/src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java index 6ceb140b..0541ac25 100644 --- a/juick-www/src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java +++ b/juick-www/src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java @@ -14,6 +14,6 @@ public class EmbeddedAPIConfig { public ConfigurableApplicationContext apiContext() { return new SpringApplicationBuilder() .sources(PostConfig.class) - .run("--server.port=8081"); + .run("--server.port=8081", "--spring.jmx.enabled=false"); } } -- cgit v1.2.3