mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
nope, that didn't work
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
|
||||
// Prevent production server from crashing completely
|
||||
if(process.env.NODE_ENV === 'production') {
|
||||
process.on('uncaughtException', function (err) {
|
||||
console.error(err);
|
||||
console.log("Node NOT Exiting...");
|
||||
});
|
||||
}
|
||||
|
||||
require('coffee-script') // remove intermediate compilation requirement
|
||||
require('./src/server').listen(process.env.PORT || 3000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user