Commit faa6ddf8 authored by  Tianyi  Zuo's avatar Tianyi Zuo
Browse files

Update WebServer.java

parent f6004a39
Pipeline #63609 canceled with stages
in 7 minutes and 35 seconds
......@@ -13,7 +13,7 @@ import java.io.IOException;
public class WebServer {
public WebServer() throws Exception {
Server server = new Server(5000);//Integer.valueOf(System.getenv("PORT")));
Server server = new Server(Integer.valueOf(System.getenv("PORT")));
ServletHandler handler = new ServletHandler();
handler.addServletWithMapping(new ServletHolder(new Website()), "/*");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment