Off by one...
This commit is contained in:
parent
63d9687ee3
commit
f86ffb4467
@ -9,8 +9,8 @@ import static spark.Spark.*;
|
||||
|
||||
public class Server {
|
||||
public static void main(String[] args) {
|
||||
if (args[1] != null) {
|
||||
port(Integer.parseInt(args[1]));
|
||||
if (args[0] != null) {
|
||||
port(Integer.parseInt(args[0]));
|
||||
} else {
|
||||
port(8080);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user