mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 00:07:58 +08:00
[maimai2] Fix endpoint incompatibility with patches
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user