refactor: everything

This commit is contained in:
nullishamy 2025-04-11 12:29:29 +01:00
parent 90577e43b0
commit 022e6f9c6d
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
32 changed files with 1570 additions and 668 deletions

View file

@ -0,0 +1,12 @@
use rocket::http::{ContentType, MediaType};
pub mod user;
pub mod oauth;
pub mod api;
pub mod well_known;
pub mod custom;
fn activity_type() -> ContentType {
ContentType(MediaType::new("application", "activity+json"))
}