merging cleanup rollup. whee!!

This commit is contained in:
2025-08-11 16:11:13 -05:00
parent 0e681d2ff5
commit ed0cdaf643
10 changed files with 66 additions and 0 deletions

View File

@@ -1,15 +0,0 @@
var StaticServer = require('./static-server');
var expressWs = require('express-ws');
var app = require('express')();
expressWs(app);
var staticServer = new StaticServer();
app.use('/', staticServer);
var port = process.env.PORT || 8080
app.listen(port, function () {
console.log('Open MCT hosted at http://localhost:' + port);
});

View File

@@ -1,11 +0,0 @@
var express = require('express');
function StaticServer() {
var router = express.Router();
router.use('/', express.static(__dirname + '/..'));
return router
}
module.exports = StaticServer;