Skip to content

Commit

Permalink
renamed router
Browse files Browse the repository at this point in the history
  • Loading branch information
ndortega committed Oct 15, 2024
1 parent 23dc865 commit 1ee8dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scenarios/thunderingherd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ function CorsHandler(handle)
end
end

route = router(middleware=[CorsHandler])
index = router(middleware=[CorsHandler])

@get route("/") function(req)
@get index("/") function(req)
return "Hello World"
end

Expand Down

0 comments on commit 1ee8dc3

Please sign in to comment.