Merge pull request #27 from OtakuNekoP/main

skip beta server device id verify
This commit is contained in:
Melledy 2022-04-19 09:09:17 -07:00 committed by GitHub
commit 5bc1448d82

View File

@ -389,6 +389,10 @@ public final class DispatchServer {
"/sdk/upload", "/sdk/upload",
new DispatchHttpJsonHandler("{\"code\":0}") new DispatchHttpJsonHandler("{\"code\":0}")
); );
server.createContext( // /perf/config/verify?device_id=xxx&platform=x&name=xxx
"/perf/config/verify",
new DispatchHttpJsonHandler("{\"code\":0}")
);
// Start server // Start server
server.start(); server.start();
Grasscutter.getLogger().info("Dispatch server started on port " + getAddress().getPort()); Grasscutter.getLogger().info("Dispatch server started on port " + getAddress().getPort());