1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-20 14:47:45 +00:00

/login/top is GET, not POST

This commit is contained in:
Joshua Goins 2023-10-05 13:24:00 -04:00
parent 8f19352528
commit a78f13c289

View file

@ -28,7 +28,7 @@ async fn main() {
tracing_subscriber::fmt::init();
let app = Router::new()
.route("/oauth/ffxivarr/login/top", post(top))
.route("/oauth/ffxivarr/login/top", get(top))
.route("/oauth/ffxivarr/login/login.send", post(login_send));
let addr = SocketAddr::from(([127, 0, 0, 1], 6700));