Skip to content

Commit 533c755

Browse files
committed
Print length.
1 parent 5aebc73 commit 533c755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handleRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function handleRequest(request: Request) {
1919
return redirectWithoutHash(url, atSignIndex);
2020
}
2121
if (url.pathname.includes("testing-this-out")) {
22-
return new Response(Deno.env.get("DPRINT_PLUGINS_GH_TOKEN")?.substring(0, 5) ?? "fail", {
22+
return new Response((Deno.env.get("DPRINT_PLUGINS_GH_TOKEN")?.length ?? 0).toString(), {
2323
status: 200,
2424
});
2525
}

0 commit comments

Comments
 (0)