From: Roberto Morado Date: Wed, 20 May 2026 21:52:45 +0000 (-0400) Subject: Rename X-Git-Url: https://git.morado.dev/sitemap.xml?a=commitdiff_plain;h=HEAD;p=env.morado.dev Rename --- diff --git a/main.ts b/main.ts index ef3f729..610b849 100644 --- a/main.ts +++ b/main.ts @@ -1,5 +1,4 @@ // ───────────────────────────────────────────── -// drop. — anonymous P2P chat & file share // Single-file Deno server · WebRTC + SSE // run: deno run --allow-net main.ts // ───────────────────────────────────────────── @@ -7,6 +6,7 @@ const PORT = Number(Deno.env.get("PORT")) ?? 8080; const SESSION_TTL_MS = 60 * 60 * 1000; // 1 hour const CHUNK_SIZE = 16 * 1024; // 16KB DataChannel chunks +const NAME = ".env"; // ── Types ──────────────────────────────────── @@ -306,7 +306,7 @@ function json(data: unknown, status = 200): Response { // ── Start ──────────────────────────────────── -console.log(`drop. running → http://localhost:${PORT}`); +console.log(`${NAME} running → http://localhost:${PORT}`); Deno.serve( { port: PORT }, (req, info) => handler(req, (info.remoteAddr as Deno.NetAddr).hostname), @@ -319,7 +319,7 @@ const HTML = ` -drop. +${NAME}