mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-19 22:36:49 +00:00
Add login status gate
This commit is contained in:
parent
2030bd4b20
commit
7899f39907
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ async fn main() {
|
||||||
|
|
||||||
let app = Router::new()
|
let app = Router::new()
|
||||||
.route("/worldStatus/gate_status.json", get(get_gate_status))
|
.route("/worldStatus/gate_status.json", get(get_gate_status))
|
||||||
|
.route("/worldStatus/login_status.json", get(get_gate_status))
|
||||||
.route("/news/headline.json", get(get_headline));
|
.route("/news/headline.json", get(get_headline));
|
||||||
|
|
||||||
let addr = SocketAddr::from(([127, 0, 0, 1], 5857));
|
let addr = SocketAddr::from(([127, 0, 0, 1], 5857));
|
||||||
|
|
Loading…
Add table
Reference in a new issue