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
fb991d84
Commit
fb991d84
authored
Apr 30, 2022
by
Scirese
Committed by
GitHub
Apr 30, 2022
Browse files
Add Android Client fix by @BaiSugar (#105)
parent
e90dc6aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
View file @
fb991d84
...
@@ -490,10 +490,10 @@ public final class DispatchServer {
...
@@ -490,10 +490,10 @@ public final class DispatchServer {
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"suggest_currency\":\"USD\",\"tiers\":[]}}"
));
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"suggest_currency\":\"USD\",\"tiers\":[]}}"
));
// Captcha
// Captcha
server
.
createContext
(
// api-account-os.hoyoverse.com
server
.
createContext
(
// api-account-os.hoyoverse.com
"/account/risky/api/check"
,
"/account/risky/api/check"
,
new
DispatchHttpJsonHandler
(
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":\"none\",\"action\":\"ACTION_NONE\",\"geetest\":null}}"
)
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":\"c8820f246a5241ab9973f71df3ddd791\",\"action\":\"\",\"geetest\":{\"challenge\":\"\",\"gt\":\"\",\"new_captcha\":0,\"success\":1}}}"
)
);
);
// Config
// Config
server
.
createContext
(
// sdk-os-static.hoyoverse.com
server
.
createContext
(
// sdk-os-static.hoyoverse.com
"/combo/box/api/config/sdk/combo"
,
"/combo/box/api/config/sdk/combo"
,
new
DispatchHttpJsonHandler
(
new
DispatchHttpJsonHandler
(
...
...
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