Middleware not working

Hi there, after two times I tried myself I literally copied and pasted from the “hint” and it still doesn’t work, I’m on replit on Chrome (mac), can you help me please?