Almost done!

This commit is contained in:
Jason 2022-02-23 15:04:25 -05:00
parent da5c0c88b1
commit 355e87dd21
13 changed files with 262 additions and 38 deletions

10
tomp/tomp.js Normal file
View file

@ -0,0 +1,10 @@
import http from 'http';
import { Server as Bare } from './Server.mjs';
const bare = new Bare('/');
http.createServer().on('request', (req, res) =>
bare.route_request(req, res)
).on('upgrade', (req, socket, head) =>
bare.route_upgrade(req, socket, head)
).listen(4545);