Fixed the api not being on its own route.