diff --git a/src/main/java/com/xtaolabs/gcauth_oauth/GCAuth_OAuth.java b/src/main/java/com/xtaolabs/gcauth_oauth/GCAuth_OAuth.java index 3fe3362..39106d5 100644 --- a/src/main/java/com/xtaolabs/gcauth_oauth/GCAuth_OAuth.java +++ b/src/main/java/com/xtaolabs/gcauth_oauth/GCAuth_OAuth.java @@ -8,6 +8,7 @@ import com.xtaolabs.gcauth_oauth.handler.JsonHandler; import com.xtaolabs.gcauth_oauth.handler.VerifyHandler; import com.xtaolabs.gcauth_oauth.handler.RequestHandler; +import emu.grasscutter.server.dispatch.DispatchHttpJsonHandler; import express.Express; import io.javalin.http.staticfiles.Location; @@ -41,6 +42,10 @@ public class GCAuth_OAuth extends Plugin { app.get("/Api/twitter_login", new JsonHandler()); + app.get("/sdkTwitterLogin.html", new DispatchHttpJsonHandler( + "" + )); + app.post("/gcauth_oauth/login", new RequestHandler()); app.post("/hk4e_global/mdk/shield/api/loginByThirdparty", new VerifyHandler());