index.js
// Serve up the main web page used for the robot arm
Serve up the main web page used for the robot arm
Serve up the main web page used for the robot arm
function index(req, res) {
	function serve(err, data) {
	    if (err) { return console.error(err); }
	    res.send(data);
	}
	fs.readFile(path.join(__dirname, "index.html"), {encoding: "utf-8"}, serve);
    }
function index ( req , res ) { function serve ( err , data ) { if ( err ) { return console . error ( err ) ; } res . send ( data ) ; } fs . readFile ( path . join ( __dirname , "index.html" ) , { encoding : "utf-8" } , serve ) ; }
Serve up the main web page used for the robot arm
Serve up the main web page used for the robot arm