mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 00:12:29 +00:00
Merge pull request #27 from OtakuNekoP/main
skip beta server device id verify
This commit is contained in:
commit
5bc1448d82
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user