Skip to content

Commit

Permalink
Merge pull request #9 from traPtitech:routing-refactor
Browse files Browse the repository at this point in the history
router を 1ミリ リファクタリング
  • Loading branch information
cp-20 authored Dec 18, 2024
2 parents 43bcaa6 + 5e10687 commit f6feff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func SetupRouting(e *echo.Echo, client *UserProvider) {
apiFiles := api.Group("/files")
{
apiFiles.POST("", PostFile, middleware.BodyLimit("3MB"))
apiFiles.GET("/:id", GetFile)
}

}
e.GET("/api/files/:id", GetFile)
}

0 comments on commit f6feff0

Please sign in to comment.