mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 08:56:04 +01:00
Add config entry for OverseaLogPort (default: 8888)
This commit is contained in:
@@ -410,7 +410,7 @@ public final class DispatchServer {
|
||||
Grasscutter.getLogger().info("Dispatch server started on port " + getAddress().getPort());
|
||||
|
||||
// Logging servers
|
||||
HttpServer overseaLogServer = HttpServer.create(new InetSocketAddress(Grasscutter.getConfig().DispatchServerIp, 8888), 0);
|
||||
HttpServer overseaLogServer = HttpServer.create(new InetSocketAddress(Grasscutter.getConfig().DispatchServerIp, Grasscutter.getConfig().OverseaLogPort), 0);
|
||||
overseaLogServer.createContext( // overseauspider.yuanshen.com
|
||||
"/log",
|
||||
new DispatchHttpJsonHandler("{\"code\":0}")
|
||||
|
||||
Reference in New Issue
Block a user