mirror of
https://github.com/nullishamy/ferri.git
synced 2025-08-18 10:39:14 +00:00
refactor: everything
This commit is contained in:
parent
90577e43b0
commit
022e6f9c6d
32 changed files with 1570 additions and 668 deletions
12
ferri-server/src/endpoints/mod.rs
Normal file
12
ferri-server/src/endpoints/mod.rs
Normal 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"))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue