Set up Nodetimewq
This commit is contained in:
parent
866732bdae
commit
c9c72946a3
11
server.js
11
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);
|
||||
app.listen(process.env.PORT || 3000);
|
||||
|
Loading…
Reference in New Issue
Block a user