From 0553848b66edfc18dde0426036216e615bc53a2b Mon Sep 17 00:00:00 2001 From: Matt 'TK' Taylor Date: Wed, 1 Apr 2026 14:10:30 +0100 Subject: [PATCH] Fix playground toolbar link to point to repo --- .../cloudflare/src/db/playground-toolbar.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/cloudflare/src/db/playground-toolbar.ts b/packages/cloudflare/src/db/playground-toolbar.ts index 0ee07c9..9ef4644 100644 --- a/packages/cloudflare/src/db/playground-toolbar.ts +++ b/packages/cloudflare/src/db/playground-toolbar.ts @@ -11,12 +11,12 @@ */ export interface PlaygroundToolbarConfig { - /** When the playground was created (ISO string) */ - createdAt: string; - /** TTL in seconds */ - ttl: number; - /** Whether edit mode is currently active */ - editMode: boolean; + /** When the playground was created (ISO string) */ + createdAt: string; + /** TTL in seconds */ + ttl: number; + /** Whether edit mode is currently active */ + editMode: boolean; } const RE_AMP = /&/g; @@ -25,9 +25,9 @@ const RE_LT = //g; export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string { - const { createdAt, ttl, editMode } = config; + const { createdAt, ttl, editMode } = config; - return ` + return `
@@ -53,7 +53,7 @@ export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string - + Deploy your own @@ -333,9 +333,9 @@ export function renderPlaygroundToolbar(config: PlaygroundToolbarConfig): string } function escapeAttr(str: string): string { - return str - .replace(RE_AMP, "&") - .replace(RE_QUOT, """) - .replace(RE_LT, "<") - .replace(RE_GT, ">"); + return str + .replace(RE_AMP, "&") + .replace(RE_QUOT, """) + .replace(RE_LT, "<") + .replace(RE_GT, ">"); }