Skip to content

Commit

Permalink
Add Yeti version to capture page.
Browse files Browse the repository at this point in the history
  • Loading branch information
reid committed Mar 7, 2012
1 parent 3e8737e commit cfc0bab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/hub/index.js
Expand Up @@ -20,6 +20,8 @@ var HubListener = require("./listener");

var Blizzard = require("../blizzard");

var metadata = require("../package").readPackageSync();

/**
* The Hub is what brings Agents and Clients together.
*
Expand Down Expand Up @@ -448,7 +450,7 @@ Hub.prototype._createRouter = function () {
var server = this;
function onFile(err, html) {
html = plates.bind(html, {
"yeti-version": "SNAPSHOT",
"yeti-version": metadata.version,
"test": "Starting up..."
});
server.res.writeHead(200, {
Expand Down

0 comments on commit cfc0bab

Please sign in to comment.