aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/trygvis/appsh/booter/jetty8/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java b/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java
index b69ff1d..15279dc 100644
--- a/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java
+++ b/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java
@@ -51,7 +51,7 @@ public class Main {
}
}
- String httpPort = properties.getProperty("http.port");
+ String httpPort = properties.getProperty("httpPort", System.getenv("httpPort"));
if (httpPort != null) {
server.setHttpPort(parseInt(httpPort));
}