🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay
2022-10-12 21:15:50 -04:00
parent d0050822ad
commit ce5f843b32
3 changed files with 148 additions and 56 deletions

View File

@@ -1,10 +0,0 @@
import { serve } from 'https://deno.land/std@0.77.0/http/server.ts';
const PORT = 1993;
const s = serve(`0.0.0.0:${PORT}`);
const body = new TextEncoder().encode('Hello World\n');
console.log(`Server started on port ${PORT}`);
for await (const req of s) {
req.respond({ body });
}