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
20feb75c
Commit
20feb75c
authored
May 17, 2022
by
Benjamin Elsdon
Committed by
Melledy
May 17, 2022
Browse files
Permanent fix for version.json stuff (causes 4206)
parent
f473e446
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/http/handlers/GenericHandler.java
View file @
20feb75c
...
@@ -41,7 +41,7 @@ public final class GenericHandler implements Router {
...
@@ -41,7 +41,7 @@ public final class GenericHandler implements Router {
express
.
all
(
"/perf/config/verify"
,
new
HttpJsonResponse
(
"{\"code\":0}"
));
express
.
all
(
"/perf/config/verify"
,
new
HttpJsonResponse
(
"{\"code\":0}"
));
// webstatic-sea.hoyoverse.com
// webstatic-sea.hoyoverse.com
express
.
get
(
"/admin/mi18n/plat_oversea/
m202003048/m202003048-version.json
"
,
new
HttpJsonResponse
(
"{\"version\":51}"
));
express
.
get
(
"/admin/mi18n/plat_oversea/
*
"
,
new
HttpJsonResponse
(
"{\"version\":51}"
));
express
.
get
(
"/status/server"
,
GenericHandler:
:
serverStatus
);
express
.
get
(
"/status/server"
,
GenericHandler:
:
serverStatus
);
}
}
...
...
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