Permanent fix for version.json stuff (causes 4206)

This commit is contained in:
Benjamin Elsdon 2022-05-17 19:07:45 +08:00 committed by Melledy
parent f473e44611
commit 20feb75c86

View File

@ -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);
} }