Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/routelib/examples/customroute-lib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function route_myhello_conf(t, ctx)
-- you could construct a string from the label to get a route and handler
-- specific counter instead.
if t.stats then
t.stast_id = ctx:stats_get_id("myhello")
t.stats_id = ctx:stats_get_id("myhello")
end

-- the result table must be a pure lua object, as it is copied between
Expand Down