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

13 lines
241 B
Rust
Raw Normal View History

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