Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
5bc1448d
Commit
5bc1448d
authored
Apr 19, 2022
by
Melledy
Committed by
GitHub
Apr 19, 2022
Browse files
Merge pull request #27 from OtakuNekoP/main
skip beta server device id verify
parents
76ed85ee
e1257739
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
View file @
5bc1448d
...
@@ -389,6 +389,10 @@ public final class DispatchServer {
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment