mirror of
https://github.com/nullishamy/ferri.git
synced 2025-10-17 23:57:24 +00:00
13 lines
242 B
Rust
13 lines
242 B
Rust
use rocket::http::{ContentType, MediaType};
|
|
|
|
pub mod oauth;
|
|
pub mod user;
|
|
|
|
pub mod api;
|
|
pub mod custom;
|
|
pub mod inbox;
|
|
pub mod well_known;
|
|
|
|
fn activity_type() -> ContentType {
|
|
ContentType(MediaType::new("application", "activity+json"))
|
|
}
|