Skip to content

Commit

Permalink
Merge pull request #56 from abaldeweg/feat/deactivate-directory
Browse files Browse the repository at this point in the history
Comment out API routes for directory in router
  • Loading branch information
abaldeweg authored Feb 12, 2025
2 parents e424826 + 5965a8a commit cf1b9b0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gateway/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ func Routes() *gin.Engine {
})
}

apiCoreDirectory := apiCore.Group(`/api/directory`)
{
apiCoreDirectory.GET(`/`, handleCoreAPI("/api/directory/"))
apiCoreDirectory.POST(`/cover/:id`, handleCoreAPIWithId("/api/directory/cover"))
apiCoreDirectory.POST(`/new`, handleCoreAPI("/api/directory/new"))
apiCoreDirectory.POST(`/upload`, handleCoreAPI("/api/directory/upload"))
apiCoreDirectory.PUT(`/edit`, handleCoreAPI("/api/directory/edit"))
apiCoreDirectory.DELETE(`/`, handleCoreAPI("/api/directory/"))
}
// apiCoreDirectory := apiCore.Group(`/api/directory`)
// {
// apiCoreDirectory.GET(`/`, handleCoreAPI("/api/directory/"))
// apiCoreDirectory.POST(`/cover/:id`, handleCoreAPIWithId("/api/directory/cover"))
// apiCoreDirectory.POST(`/new`, handleCoreAPI("/api/directory/new"))
// apiCoreDirectory.POST(`/upload`, handleCoreAPI("/api/directory/upload"))
// apiCoreDirectory.PUT(`/edit`, handleCoreAPI("/api/directory/edit"))
// apiCoreDirectory.DELETE(`/`, handleCoreAPI("/api/directory/"))
// }

apiCoreFormat := apiCore.Group(`/api/format`)
{
Expand Down

0 comments on commit cf1b9b0

Please sign in to comment.