From c9c72946a3249e4f68eba8a9834317dcb770cd47 Mon Sep 17 00:00:00 2001 From: benweet Date: Mon, 7 Oct 2013 20:54:54 +0100 Subject: [PATCH] Set up Nodetimewq --- server.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 5935b542..f8941f8f 100644 --- a/server.js +++ b/server.js @@ -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); \ No newline at end of file +app.listen(process.env.PORT || 3000);