Set up Nodetimewq

This commit is contained in:
benweet 2013-10-07 20:54:54 +01:00
parent 866732bdae
commit c9c72946a3

View File

@ -1,3 +1,12 @@
ac8aab509fc34e298981297ada8346b166caf10a
// Nodetime
if(process.env.NODETIME_ACCOUNT_KEY) {
require('nodetime').profile({
accountKey: process.env.NODETIME_ACCOUNT_KEY,
appName: 'StackEdit'
});
}
var express = require('express');
var app = express();
@ -18,4 +27,4 @@ app.use(express.compress());
app.use(express.static(__dirname + '/public'));
// Listen on port 3000
app.listen(process.env.PORT || 3000);
app.listen(process.env.PORT || 3000);