Skip to content

Commit df5918a

Browse files
committed
fix author name
1 parent 142d922 commit df5918a

File tree

3 files changed

+266
-16
lines changed

3 files changed

+266
-16
lines changed

config.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import type { FooterCategory } from "@/components/Footer";
22
import type { AuthorData } from "@/types";
33

4-
export const isProduction = process.env.NODE_ENV === "production";
5-
export const API_ENDPOINT = isProduction
6-
? "https://api.yeecord.com"
7-
: "http://127.0.0.1:3001";
8-
export const CDN_ENDPOINT = "https://cdn.discordapp.com";
94
export const url_base = new URL(
105
process.env.VERCEL_URL
116
? `https://${process.env.VERCEL_URL}`
@@ -96,9 +91,9 @@ export const blogRecommendations = [
9691

9792
export const blogAuthors: Record<string, AuthorData> = {
9893
kane: {
99-
name: "凱恩Kane",
94+
name: "Kane Wang",
10095
title: "YEE式機器龍作者",
101-
url: "https://github.com/Gary50613",
96+
url: "https://bento.me/kanewang",
10297
image_url: "/blog/Gary50613.jpg",
10398
},
10499
wolf: {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"react": "18.2.0",
3232
"react-dom": "18.2.0",
3333
"react-twitter-embed": "^4.0.4",
34+
"sharp": "^0.32.6",
3435
"tailwind-merge": "^1.14.0",
3536
"zod": "^3.22.4"
3637
},

0 commit comments

Comments
 (0)