The LM Control website. Simple yet efficient.
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.

lmc-webserver.js 312B

1234567891011121314
  1. //Simple server to host the website, using node so we can add more functionality in the future
  2. const express = require('express');
  3. const app = express();
  4. app.use(express.json());
  5. app.use(express.static('.'));
  6. function begin(){
  7. app.listen(8080, () => console.log(`Server running on Port 8080`));
  8. }
  9. begin();