Disable routes for now
This commit is contained in:
parent
4bddb9f633
commit
e2381f1eaf
1 changed files with 11 additions and 11 deletions
|
@ -15,22 +15,22 @@ const router = Router{
|
||||||
.routes = &[_]Route{
|
.routes = &[_]Route{
|
||||||
Route.new(.GET, "/healthcheck", c.healthcheck),
|
Route.new(.GET, "/healthcheck", c.healthcheck),
|
||||||
|
|
||||||
Route.new(.POST, "/auth/register", &c.auth.register),
|
//Route.new(.POST, "/auth/register", &c.auth.register),
|
||||||
Route.new(.POST, "/auth/login", &c.auth.login),
|
//Route.new(.POST, "/auth/login", &c.auth.login),
|
||||||
|
|
||||||
Route.new(.POST, "/notes", &c.notes.create),
|
//Route.new(.POST, "/notes", &c.notes.create),
|
||||||
Route.new(.GET, "/notes/:id", &c.notes.get),
|
//Route.new(.GET, "/notes/:id", &c.notes.get),
|
||||||
|
|
||||||
Route.new(.GET, "/notes/:id/reacts", &c.notes.reacts.list),
|
//Route.new(.GET, "/notes/:id/reacts", &c.notes.reacts.list),
|
||||||
Route.new(.POST, "/notes/:id/reacts", &c.notes.reacts.create),
|
//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(.POST, "/admin/invites", &c.admin.invites.create),
|
||||||
Route.new(.GET, "/admin/invites/:id", &c.admin.invites.get),
|
//Route.new(.GET, "/admin/invites/:id", &c.admin.invites.get),
|
||||||
|
|
||||||
Route.new(.POST, "/admin/communities", &c.admin.communities.create),
|
//Route.new(.POST, "/admin/communities", &c.admin.communities.create),
|
||||||
Route.new(.GET, "/admin/communities/:host", &c.admin.communities.get),
|
//Route.new(.GET, "/admin/communities/:host", &c.admin.communities.get),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue