aboutsummaryrefslogtreecommitdiff
path: root/router
diff options
context:
space:
mode:
Diffstat (limited to 'router')
-rw-r--r--router/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/router/router.go b/router/router.go
index c6e2feb..c53cea4 100644
--- a/router/router.go
+++ b/router/router.go
@@ -9,4 +9,5 @@ func SetRoutes(app *fiber.App) {
app.Get("/", controllers.ThreadList)
app.Get("/thread/:id", controllers.Thread)
app.Post("/api/post", controllers.Publish)
+ app.Delete("/api/post", controllers.Delete)
}