forked from jmug/stoatchat
Add hive to main join!().
This commit is contained in:
@@ -3,7 +3,6 @@ use crate::util::variables::{DISABLE_REGISTRATION, HCAPTCHA_SITEKEY, USE_EMAIL,
|
||||
use rocket_contrib::json::JsonValue;
|
||||
use mongodb::bson::doc;
|
||||
|
||||
/// root
|
||||
#[get("/")]
|
||||
pub async fn root() -> JsonValue {
|
||||
json!({
|
||||
@@ -18,12 +17,3 @@ pub async fn root() -> JsonValue {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/// I'm a teapot.
|
||||
#[delete("/")]
|
||||
pub async fn teapot() -> JsonValue {
|
||||
json!({
|
||||
"teapot": true,
|
||||
"can_delete": false
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user