mirror of
https://github.com/amark/gun.git
synced 2025-07-06 12:52:32 +00:00
must we?
This commit is contained in:
parent
823c7d0d6b
commit
b88a232596
@ -1,8 +1,8 @@
|
|||||||
;(function(){
|
;(function(){
|
||||||
var cluster = require('cluster');
|
/*var cluster = require('cluster');
|
||||||
if(cluster.isMaster){
|
if(cluster.isMaster){
|
||||||
return cluster.fork() && cluster.on('exit', function(){ cluster.fork(); require('../lib/crashed'); });
|
return cluster.fork() && cluster.on('exit', function(){ cluster.fork(); require('../lib/crashed'); });
|
||||||
}
|
}*/
|
||||||
|
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var config = { port: process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || process.env.PORT || process.argv[2] || 8765 };
|
var config = { port: process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || process.env.PORT || process.argv[2] || 8765 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user