mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-31 00:10:30 +00:00
11 lines
146 B
Rust
11 lines
146 B
Rust
use rocket_contrib::json::{ JsonValue };
|
|
use bson::{ doc };
|
|
|
|
/// root
|
|
#[get("/")]
|
|
pub fn root() -> JsonValue {
|
|
json!({
|
|
"revolt": "0.0.1"
|
|
})
|
|
}
|