mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-16 21:10:02 -04:00
Almost done!
This commit is contained in:
parent
da5c0c88b1
commit
355e87dd21
13 changed files with 262 additions and 38 deletions
10
tomp/tomp.js
Normal file
10
tomp/tomp.js
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue