     res.end()
 
 app.get "/latest", (req, res) ->
-  rodeoVersions (err, versions) ->
+  appVersions (err, versions) ->
     if err
       res.status(500)
       res.send("Could not grab latest version")

colors = require("colors")
_ = require("underscore")
semver = require("semver")
rodeoVersions = require("./versions")


app = express()


app.get "/", (req, res) ->
  if req.query.version
    appVersions (err, versions) ->
      if err
        res.status(500)
        res.send "Could not lookup latest version"
