mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
remove webkit-agent (thought i already did?)
This commit is contained in:
@@ -22,7 +22,7 @@ process.env.SMTP_SERVICE = conf.get("SMTP_SERVICE");
|
|||||||
process.env.STRIPE_API_KEY = conf.get("STRIPE_API_KEY");
|
process.env.STRIPE_API_KEY = conf.get("STRIPE_API_KEY");
|
||||||
process.env.STRIPE_PUB_KEY = conf.get("STRIPE_PUB_KEY");
|
process.env.STRIPE_PUB_KEY = conf.get("STRIPE_PUB_KEY");
|
||||||
|
|
||||||
var agent;
|
/*var agent;
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// Follow these instructions for profiling / debugging leaks
|
// Follow these instructions for profiling / debugging leaks
|
||||||
// * https://developers.google.com/chrome-developer-tools/docs/heap-profiling
|
// * https://developers.google.com/chrome-developer-tools/docs/heap-profiling
|
||||||
@@ -31,7 +31,7 @@ if (process.env.NODE_ENV === 'development') {
|
|||||||
console.log("To debug memory leaks:" +
|
console.log("To debug memory leaks:" +
|
||||||
"\n\t(1) Run `kill -SIGUSR2 " + process.pid + "`" +
|
"\n\t(1) Run `kill -SIGUSR2 " + process.pid + "`" +
|
||||||
"\n\t(2) open http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:1337&page=0");
|
"\n\t(2) open http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:1337&page=0");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
process.on('uncaughtException', function (error) {
|
process.on('uncaughtException', function (error) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user