Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
zoov-xavier committed Apr 8, 2024
1 parent 1e2acbf commit 9575224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func main() {
panic(err)
}
router.Use(cors.AllowAll().Handler)
router.Get("/doc.json", api.ServeSchema)

router.Get("/doc.json", api.ServeSchema)
router.Get("/doc2.json", func(w http.ResponseWriter, r *http.Request) {
f, err := os.Open("/tmp/doc.json")
if err != nil {
Expand Down

0 comments on commit 9575224

Please sign in to comment.