File tree Expand file tree Collapse file tree 3 files changed +266
-16
lines changed Expand file tree Collapse file tree 3 files changed +266
-16
lines changed Original file line number Diff line number Diff line change 1
1
import type { FooterCategory } from "@/components/Footer" ;
2
2
import type { AuthorData } from "@/types" ;
3
3
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" ;
9
4
export const url_base = new URL (
10
5
process . env . VERCEL_URL
11
6
? `https://${ process . env . VERCEL_URL } `
@@ -96,9 +91,9 @@ export const blogRecommendations = [
96
91
97
92
export const blogAuthors : Record < string , AuthorData > = {
98
93
kane : {
99
- name : "凱恩Kane " ,
94
+ name : "Kane Wang " ,
100
95
title : "YEE式機器龍作者" ,
101
- url : "https://github.com/Gary50613 " ,
96
+ url : "https://bento.me/kanewang " ,
102
97
image_url : "/blog/Gary50613.jpg" ,
103
98
} ,
104
99
wolf : {
Original file line number Diff line number Diff line change 31
31
"react" : " 18.2.0" ,
32
32
"react-dom" : " 18.2.0" ,
33
33
"react-twitter-embed" : " ^4.0.4" ,
34
+ "sharp" : " ^0.32.6" ,
34
35
"tailwind-merge" : " ^1.14.0" ,
35
36
"zod" : " ^3.22.4"
36
37
},
You can’t perform that action at this time.
0 commit comments