Disable routes for now

This commit is contained in:
jaina heartles 2022-09-05 00:10:03 -07:00
parent 4bddb9f633
commit e2381f1eaf
1 changed files with 11 additions and 11 deletions

View File

@ -15,22 +15,22 @@ const router = Router{
.routes = &[_]Route{
Route.new(.GET, "/healthcheck", c.healthcheck),
Route.new(.POST, "/auth/register", &c.auth.register),
Route.new(.POST, "/auth/login", &c.auth.login),
//Route.new(.POST, "/auth/register", &c.auth.register),
//Route.new(.POST, "/auth/login", &c.auth.login),
Route.new(.POST, "/notes", &c.notes.create),
Route.new(.GET, "/notes/:id", &c.notes.get),
//Route.new(.POST, "/notes", &c.notes.create),
//Route.new(.GET, "/notes/:id", &c.notes.get),
Route.new(.GET, "/notes/:id/reacts", &c.notes.reacts.list),
Route.new(.POST, "/notes/:id/reacts", &c.notes.reacts.create),
//Route.new(.GET, "/notes/:id/reacts", &c.notes.reacts.list),
//Route.new(.POST, "/notes/:id/reacts", &c.notes.reacts.create),
Route.new(.GET, "/actors/:id", &c.actors.get),
//Route.new(.GET, "/actors/:id", &c.actors.get),
Route.new(.POST, "/admin/invites", &c.admin.invites.create),
Route.new(.GET, "/admin/invites/:id", &c.admin.invites.get),
//Route.new(.POST, "/admin/invites", &c.admin.invites.create),
//Route.new(.GET, "/admin/invites/:id", &c.admin.invites.get),
Route.new(.POST, "/admin/communities", &c.admin.communities.create),
Route.new(.GET, "/admin/communities/:host", &c.admin.communities.get),
//Route.new(.POST, "/admin/communities", &c.admin.communities.create),
//Route.new(.GET, "/admin/communities/:host", &c.admin.communities.get),
},
};