Off by one...

This commit is contained in:
Steven Tracey 2024-08-07 15:15:10 -04:00
parent 63d9687ee3
commit f86ffb4467

View File

@ -9,8 +9,8 @@ import static spark.Spark.*;
public class Server { public class Server {
public static void main(String[] args) { public static void main(String[] args) {
if (args[1] != null) { if (args[0] != null) {
port(Integer.parseInt(args[1])); port(Integer.parseInt(args[0]));
} else { } else {
port(8080); port(8080);
} }