 colors = require("colors")
 _ = require("underscore")
 semver = require("semver")
-rodeoVersions = require("./versions")
+appVersions = require("./versions")
 
 
 app = express()


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

    res.end()

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