Initial commit

This commit is contained in:
2026-02-19 00:18:50 +01:00
commit f27f003a75
5 changed files with 201 additions and 0 deletions

15
server.mjs Normal file
View File

@@ -0,0 +1,15 @@
import express from 'express';
//import { WebSocketServer } from 'ws';
import http from 'node:http';
import serveIndex from 'serve-index';
const app = express();
const server = http.createServer(app);
//const wss = new WebSocketServer({ noServer: true });
app.use('/', express.static('static', { index: [] }), serveIndex('static', { icons: true }));
server.listen(3535);