启动类添加端口

This commit is contained in:
zyq 2024-03-06 09:52:06 +08:00
parent 9a54c46c52
commit ed5173a84b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import com.jfinal.server.undertow.UndertowServer;
public class Main {
public static void main(String[] args) {
UndertowServer.start(AppConfig.class);
UndertowServer.start(AppConfig.class, 8099, true);
EventLog.info("启动成功");
}
}