From e2381f1eaf39c38954ae51ea8491743d83fdc210 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Mon, 5 Sep 2022 00:10:03 -0700 Subject: [PATCH] Disable routes for now --- src/main/main.zig | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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), }, };