mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
7 lines
198 B
TypeScript
7 lines
198 B
TypeScript
import { serve } from "https://deno.land/std@0.66.0/http/server.ts";
|
|
import requestHandler from "./index.ts";
|
|
|
|
const s = serve({ port: 8080 });
|
|
for await (const req of s) {
|
|
requestHandler(req);
|
|
}
|