From ecd176f44dafa8bd3a3cac8bfbf3c8cf86b3fcb8 Mon Sep 17 00:00:00 2001 From: Kyle Loveless Date: Sun, 13 Oct 2024 13:52:04 -0500 Subject: [PATCH] reserved subdomains on domains --- routes/index.tsx | 8 +++++++- util/mod.ts | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/routes/index.tsx b/routes/index.tsx index ada3cb0..fc541fd 100644 --- a/routes/index.tsx +++ b/routes/index.tsx @@ -58,7 +58,13 @@ export default async function HomePage(_req: Request, ctx: RouteContext) { throw new Error("slur"); } - if (domain === "army.social" && RESERVED.includes(handle)) { + // TODO: probably want to add some way for the forker to add their + // domain to this reserved list, or config their on.. deno task