Fixed missing port error

This commit is contained in:
Steven Tracey 2024-08-07 15:25:25 -04:00
parent fe6f88bc62
commit 4157fc5215

View File

@ -13,7 +13,7 @@ public class Main {
); );
public static void main(String[] args) { public static void main(String[] args) {
if (args[0] != null) { if (args.length >= 1) {
port(Integer.parseInt(args[0])); port(Integer.parseInt(args[0]));
} else { } else {
port(8080); port(8080);