fix error in which javascript for server side route wasn't being found because public directory was set to public/app, not public