Commit 76bce58
committed
fix(seo): Vercel OG 폰트 경로 보정
Vercel Node.js 함수에서 번들된 URL 객체를 readFile 경로로 인식하지 못해 OG endpoint가 500을 반환했습니다.
process.cwd() 기준 문자열 경로로 폰트 위치를 계산해 배포 환경에서도 같은 파일을 읽도록 변경했습니다.1 parent 63281f4 commit 76bce58
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments