From a2f8df3b14979f74c03a79b2ffaf081739837899 Mon Sep 17 00:00:00 2001
From: 简律纯 <hsiangnianian@outlook.com>
Date: Wed, 3 May 2023 01:09:49 +0800
Subject:

---
 docs/pages/api/og.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'docs/pages/api/og.tsx')

diff --git a/docs/pages/api/og.tsx b/docs/pages/api/og.tsx
index 196ca72..ceb55dc 100644
--- a/docs/pages/api/og.tsx
+++ b/docs/pages/api/og.tsx
@@ -76,10 +76,10 @@ export default async function openGraphImage(
     const hasTitle = searchParams.has("title");
     const title = hasTitle
       ? searchParams.get("title")?.slice(0, 100)
-      : type === "pack"
-      ? "The successor to Webpack"
-      : type === "repo"
-      ? "The build system that makes ship happen"
+      : type === "TRPG"
+      ? "跑团"
+      : type === "AI"
+      ? "人工智能"
       : "";
 
     return new ImageResponse(createElement(OGImage, { title, type, bg }), {
@@ -91,7 +91,7 @@ export default async function openGraphImage(
     return new Response(undefined, {
       status: 302,
       headers: {
-        Location: "https://turbo.build/og-image.png",
+        Location: "https://hydroroll.retrofor.space/og-image.png",
       },
     });
   }
@@ -125,9 +125,9 @@ export function OGImage({
     >
       {/* eslint-disable-next-line  @next/next/no-img-element, jsx-a11y/alt-text */}
       <div style={{ display: "flex", height: 97 * 1.1, alignItems: "center" }}>
-        {type === "pack" ? (
+        {type === "TRPG" ? (
           <PackLogo height={103 * 1.1} width={697 * 1.1} />
-        ) : type === "repo" ? (
+        ) : type === "AI" ? (
           <RepoLogo height={83 * 1.1} width={616 * 1.1} />
         ) : (
           <TurboLogo height={97 * 1.1} width={459 * 1.1} />
-- 
cgit v1.2.3-70-g09d2

