platforms
platforms copied to clipboard
Update .env.example file with Vercel deployment suffix
An environment variable is missing, which is in the middleware, but in the .env.example it does not appear.
if (
hostname.includes("---") &&
hostname.endsWith(`.${process.env.NEXT_PUBLIC_VERCEL_DEPLOYMENT_SUFFIX}`)
) {
hostname = `${hostname.split("---")[0]}.${
process.env.NEXT_PUBLIC_ROOT_DOMAIN
}`;
}
@ga1az is attempting to deploy a commit to the Vercel Labs Team on Vercel.
A member of the Team first needs to authorize it.