From 34dac9716eaecf03e47e88e6a2d33ceb76572560 Mon Sep 17 00:00:00 2001 From: panos-kakos Date: Sat, 14 Oct 2023 23:16:17 +0300 Subject: [PATCH] [JAVA-12183] Fixed server settings location --- web-modules/restx/src/main/java/restx/demo/AppServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-modules/restx/src/main/java/restx/demo/AppServer.java b/web-modules/restx/src/main/java/restx/demo/AppServer.java index 7275047e0b..089a22c9ae 100644 --- a/web-modules/restx/src/main/java/restx/demo/AppServer.java +++ b/web-modules/restx/src/main/java/restx/demo/AppServer.java @@ -12,8 +12,8 @@ import restx.server.Jetty11WebServer; * Reading the port from system env PORT makes it compatible with heroku. */ public class AppServer { - public static final String WEB_INF_LOCATION = "web-modules/restx/src/main/webapp/WEB-INF/web.xml"; - public static final String WEB_APP_LOCATION = "web-modules/restx/src/main/webapp"; + public static final String WEB_INF_LOCATION = "src/main/webapp/WEB-INF/web.xml"; + public static final String WEB_APP_LOCATION = "src/main/webapp"; public static void main(String[] args) throws Exception { int port = Integer.valueOf(Optional.fromNullable(System.getenv("PORT")).or("8080"));