Found exactly where I need to replace the socket io logic with simple re-directs