You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
290 B

const express = require('express');
const app = express();
const http = require("http");
const server = http.createServer(app);
app.get('/', (req, res) => {
res.sendFile(__dirname + '/index.html');
});
server.listen(3030, () => {
console.log('listening on beaglebone.local:3030');
});