Add ActivityPub endpoint for actors

This commit is contained in:
Bat
2018-04-23 16:09:05 +01:00
parent 9eb1b987b2
commit 7b3a884ec6
6 changed files with 29 additions and 4 deletions
+4
View File
@@ -8,6 +8,8 @@ extern crate rocket;
extern crate rocket_contrib;
extern crate bcrypt;
extern crate heck;
#[macro_use]
extern crate serde_json;
use diesel::pg::PgConnection;
use diesel::r2d2::{ConnectionManager, Pool};
@@ -56,6 +58,7 @@ fn main() {
routes::user::me,
routes::user::details,
routes::user::activity,
routes::user::new,
routes::user::create,
@@ -64,6 +67,7 @@ fn main() {
routes::session::delete,
routes::blogs::details,
routes::blogs::activity,
routes::blogs::new,
routes::blogs::create,