Skip to content

Commit 8bb85c8

Browse files
committed
Put main files into lib directory
1 parent c094a39 commit 8bb85c8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ app.use(bodyParser.urlencoded({
1818
}));
1919

2020
// Require the master (cluster) app
21-
require('./master')(app);
21+
require('./lib/master')(app);
2222

2323
// Development only
2424
if (app.get('env') == 'development') {

master.js renamed to lib/master.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function(app) {
88
callback;
99

1010
cluster.setupMaster({
11-
exec : "worker.js", // run this script when we fork ourselves
11+
exec : "./lib/worker.js", // run this script when we fork ourselves
1212
args : process.argv.slice(2),
1313
silent : false
1414
});
File renamed without changes.

0 commit comments

Comments
 (0)