mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 20:12:39 +00:00
[maimai2] Fix endpoint incompatibility with patches
This commit is contained in:
parent
cbae5d049c
commit
ee6d28bd00
@ -45,7 +45,7 @@ Only JP variant is supported.
|
||||
* Tournament mode
|
||||
|
||||
### Additional notes
|
||||
* From version 0.0.25, Aqua reports endpoint as `http://ALLNET_HOST/`. The final endpoint that game connects must be `http://ALLNET_HOST/Maimai2Servlet/`.
|
||||
* Previous versions of Aqua reported different endpoint URI for Maimai DX thus required compatible patches. Currently, it doesn't matter and both will work.
|
||||
|
||||
## O.N.G.E.K.I
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ public class AllNetController {
|
||||
case "SDEY":
|
||||
return "http://" + addr + ":" + port + "/MaimaiServlet/";
|
||||
case "SDEZ":
|
||||
return "http://" + addr + ":" + port + "/";
|
||||
return "http://" + addr + ":" + port + "/Maimai2Servlet/";
|
||||
default:
|
||||
return "http://" + addr + ":" + port + "/";
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@ import java.util.Map;
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("Maimai2Servlet")
|
||||
@RequestMapping({"/Maimai2Servlet", "/Maimai2Servlet/Maimai2Servlet"}) // Workaround for endpoint mismatch, let's just accept both
|
||||
public class Maimai2ServletController {
|
||||
|
||||
private final GetGameSettingHandler getGameSettingHandler;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user