aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-26 09:39:49 +0300
committerGravatar Vitaly Takmazov2018-04-26 09:39:49 +0300
commita7825dede977692c0418119159090290e4f6ac34 (patch)
tree259a07856fc75f1a3c91b4ca169fcbfa0edae551 /juick-www/src/main/java/com/juick/www/configuration
parent2d8655b5b61cab98f9f53703eb9f8fb8ecb68349 (diff)
www: fix redirect after command
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/configuration')
-rw-r--r--juick-www/src/main/java/com/juick/www/configuration/EmbeddedAPIConfig.java2
1 files changed, 1 insertions, 1 deletions
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");
}
}