diff --git a/.changeset/self-hosted-fonts.md b/.changeset/self-hosted-fonts.md new file mode 100644 index 0000000000..4d8e025451 --- /dev/null +++ b/.changeset/self-hosted-fonts.md @@ -0,0 +1,5 @@ +--- +"executor": patch +--- + +Bundle the Geist and Geist Mono fonts with the console instead of loading them from Google Fonts. The UI no longer stays blank when a self-hosted deployment cannot reach fonts.googleapis.com. diff --git a/apps/cloud/src/routes/__root.tsx b/apps/cloud/src/routes/__root.tsx index 7f141e6072..1c0f8b8a10 100644 --- a/apps/cloud/src/routes/__root.tsx +++ b/apps/cloud/src/routes/__root.tsx @@ -116,12 +116,6 @@ export const Route = createRootRoute({ { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32.png" }, { rel: "icon", type: "image/png", sizes: "192x192", href: "/favicon-192.png" }, { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }, - { rel: "preconnect", href: "https://fonts.googleapis.com" }, - { rel: "preconnect", href: "https://fonts.gstatic.com", crossOrigin: "anonymous" }, - { - rel: "stylesheet", - href: "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;700&display=swap", - }, { rel: "stylesheet", href: appCss }, ], }), diff --git a/apps/host-cloudflare/web/index.html b/apps/host-cloudflare/web/index.html index df417e4c33..82e1575dc3 100644 --- a/apps/host-cloudflare/web/index.html +++ b/apps/host-cloudflare/web/index.html @@ -8,12 +8,6 @@ Executor - - -
diff --git a/apps/host-selfhost/web/index.html b/apps/host-selfhost/web/index.html index b3260fdb8d..1d82586ac9 100644 --- a/apps/host-selfhost/web/index.html +++ b/apps/host-selfhost/web/index.html @@ -8,12 +8,6 @@ Executor (self-hosted) - - -
diff --git a/packages/app/index.html b/packages/app/index.html index 4255a12a78..b9ba153f8d 100644 --- a/packages/app/index.html +++ b/packages/app/index.html @@ -8,12 +8,6 @@ Executor - - -