Moves serveStatic to a better place