zolplay-cn / website

Zolplay website repo // 佐玩官网

Home Page:https://zolplay.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NEXT_PUBLIC_OG_URL is a typo?

LeniWen opened this issue · comments

In the given code snippet at,

const url = new URL(process.env.NEXT_PUBLIC_OG_URL ?? '')

a variable named NEXT_PUBLIC_OG_URL is used. However, in the .env.example file, there is a variable named NEXT_PUBLIC_OG_URL_PREFIX.
NEXT_PUBLIC_OG_URL_PREFIX=
Is this a typo or intentional?

Oh good catch! I've only updated the .env file locally and forgot to sync it back to the .env.example file afterwards.

I'll update it, thanks for spotting it!