[JAVA-12183] Fixed server settings location

This commit is contained in:
panos-kakos 2023-10-14 23:16:17 +03:00
parent 02b5110751
commit 34dac9716e
1 changed files with 2 additions and 2 deletions

View File

@ -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"));