You've already forked AstralRinth
forked from didirus/AstralRinth
* Add more analytics * finish hydra move * Finish websocket flow * add minecraft account flow * Finish playtime vals + payout automation
14 lines
337 B
Rust
14 lines
337 B
Rust
use actix_web::HttpResponse;
|
|
use serde_json::json;
|
|
|
|
pub async fn index_get() -> HttpResponse {
|
|
let data = json!({
|
|
"name": "modrinth-labrinth",
|
|
"version": env!("CARGO_PKG_VERSION"),
|
|
"documentation": "https://docs.modrinth.com",
|
|
"about": "Welcome traveler!"
|
|
});
|
|
|
|
HttpResponse::Ok().json(data)
|
|
}
|