My Middleware(Knit) is not somehow not working

So I was following Sleitnick tutorial of adding knit to rojo/wally and at the Middleware point I followed what he said but somehow it doesn’t work?
Here is my Code:
image

Here is the output:
image
It is not outputting the “MIDDLEWARE” part I think the issues is that it is not even detecting what is being send from the server to the client, or I am using the wrong version of stuff.

i see that you followed the same format as the video. that format is outdated as he updated it after

here’s the new one

local function LoggerMiddleware(player: Player, args: {any})
     print(player, args)
     return true
end

Knit.Start({
     Middleware = {
          Inbound = { LoggerMiddleware },
     }
}):andThen(function()
     print("Knit started")
end):catch(warn)
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.