ferri/ferri-server/src/endpoints/mod.rs

14 lines
242 B
Rust
Raw Normal View History

2025-04-11 12:29:29 +01:00
use rocket::http::{ContentType, MediaType};
pub mod oauth;
2025-04-12 15:16:40 +01:00
pub mod user;
2025-04-11 12:29:29 +01:00
pub mod api;
pub mod custom;
pub mod inbox;
2025-04-12 15:16:40 +01:00
pub mod well_known;
2025-04-11 12:29:29 +01:00
fn activity_type() -> ContentType {
ContentType(MediaType::new("application", "activity+json"))
2025-04-12 15:16:40 +01:00
}