mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 19:53:21 +02:00
Added DeleteArticle route
This commit is contained in:
@@ -21,6 +21,7 @@ func initGin() {
|
||||
r.GET("/ping", internal.Ping)
|
||||
r.GET("/get-all-articles", internal.GetAllArticles)
|
||||
r.POST("/add-article", internal.AddArticle)
|
||||
r.DELETE("/delete-article", internal.DeleteArticle)
|
||||
|
||||
r.Run(":" + os.Getenv("API_PORT"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user