diff --git a/kong/api/routes/kong.lua b/kong/api/routes/kong.lua index f97b3474a785..b2ba43f21419 100644 --- a/kong/api/routes/kong.lua +++ b/kong/api/routes/kong.lua @@ -8,6 +8,8 @@ local function get_hostname() return hostname end +local METHOD_NOT_ALLOWED_MESSAGE = { message = "Method not allowed" } + return { ["/"] = { GET = function(self, dao, helpers)