www: change domain to usefresh.dev (#3831)

This commit is contained in:
Luca Casonato
2026-06-03 16:35:21 +02:00
committed by GitHub
parent 56faed1998
commit 86d6cdeb33
29 changed files with 57 additions and 51 deletions
@@ -34,7 +34,7 @@ export function automaticWorkspaceFolders<T>(root: string): Middleware<T> {
uuid ??= await generate(
NAMESPACE_URL,
new TextEncoder().encode(
`https://fresh.deno.dev?root=${encodeURIComponent(root)}&v=${0}`,
`https://usefresh.dev?root=${encodeURIComponent(root)}&v=${0}`,
),
);
content ??= JSON.stringify({ workspace: { root, uuid } }, undefined, 2);
@@ -40,7 +40,7 @@ snapshot[`round trip - { a: 1, b: null, c: -2 } 1`] = `'[{"a":1,"b":-2,"c":2},1,
snapshot[`round trip - Uint8Array(3) [ 1, 2, 3 ] 1`] = `'[["Uint8Array","AQID"]]'`;
snapshot[`round trip - URL {\\n href: 'https://fresh.deno.dev/',\\n origin: 'https://fresh.deno.dev',\\n protocol: 'https:',\\n username: '',\\n password: '',\\n host: 'fresh.deno.dev',\\n hostname: 'fresh.deno.dev',\\n port: '',\\n pathname: '/',\\n hash: '',\\n search: ''\\n} 1`] = `'[["URL","https://fresh.deno.dev/"]]'`;
snapshot[`round trip - URL {\\n href: 'https://usefresh.dev/',\\n origin: 'https://usefresh.dev',\\n protocol: 'https:',\\n username: '',\\n password: '',\\n host: 'usefresh.dev',\\n hostname: 'usefresh.dev',\\n port: '',\\n pathname: '/',\\n hash: '',\\n search: ''\\n} 1`] = `'[["URL","https://usefresh.dev/"]]'`;
snapshot[`round trip - 1990-05-31T00:00:00.000Z 1`] = `'[["Date","1990-05-31T00:00:00.000Z"]]'`;
@@ -32,7 +32,7 @@ const TESTS = [
[null, undefined, -2],
{ a: 1, b: null, c: -2 },
new Uint8Array([1, 2, 3]),
new URL("https://fresh.deno.dev"),
new URL("https://usefresh.dev"),
new Date("1990-05-31"),
new Date("Invalid Date"),
new Map([[1, null], [undefined, -2]]),
@@ -1,4 +1,4 @@
const LINK = "https://fresh.deno.dev/docs/concepts/ahead-of-time-builds";
const LINK = "https://usefresh.dev/docs/concepts/ahead-of-time-builds";
export default function TailwindErrorPage() {
return (