diff --git a/src/main/main.zig b/src/main/main.zig index 6104b21..ffd5984 100644 --- a/src/main/main.zig +++ b/src/main/main.zig @@ -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), }, };