@Kognise/

Tetris

Nodejs

No description

fork
loading
Files
  • index.js
  • config.js
  • monitor.js
  • package-lock.json
  • package.json
  • proxy.js
  • replcate.js
  • server.js
index.js
1
2
3
4
5
6
7
8
9
// Replcator - a simple Repl.it-based load balancer
// See https://bit.ly/replcator for a tutorial
// (Alt-click to open the link)

const { fork } = require('child_process')

const proxy = require('./proxy')
const monitor = fork('./monitor.js')
proxy(monitor)
node v10.16.0