[JAVA-12183] Fixed server settings location
This commit is contained in:
parent
02b5110751
commit
34dac9716e
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue