Fixed missing port error
This commit is contained in:
parent
fe6f88bc62
commit
4157fc5215
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user