Fix small typo in misc.lua

This commit is contained in:
Théophile Diot 2023-05-29 08:31:55 -04:00
parent b60657e21f
commit d5e64320c4
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function misc:access()
return self:ret(true, "method " .. method .. " is allowed")
end
end
return self:ret(true, "method " .. method .. " not is allowed", ngx.HTTP_NOT_ALLOWED)
return self:ret(true, "method " .. method .. " is not allowed", ngx.HTTP_NOT_ALLOWED)
end
return misc