Added service file
Created build config Changed default port
This commit is contained in:
parent
5565fd2201
commit
67866265ba
3 changed files with 65 additions and 3 deletions
|
@ -21,7 +21,7 @@ public class Main {
|
|||
|
||||
public static void main(String[] args) throws IOException {
|
||||
refresh();
|
||||
HttpServer server = HttpServer.create(new InetSocketAddress(8000), 0);
|
||||
HttpServer server = HttpServer.create(new InetSocketAddress(8111), 0);
|
||||
server.createContext("/oebbapi", new OebbHandler());
|
||||
server.setExecutor(null); // creates a default executor
|
||||
server.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue