mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 18:56:15 +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",
|
||||
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
|
||||
server.start();
|
||||
Grasscutter.getLogger().info("Dispatch server started on port " + getAddress().getPort());
|
||||
|
Loading…
Reference in New Issue
Block a user