platforms icon indicating copy to clipboard operation
platforms copied to clipboard

Update .env.example file with Vercel deployment suffix

Open ga1az opened this issue 1 year ago • 2 comments

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 avatar Feb 03 '24 15:02 ga1az

@ga1az is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 03 '24 15:02 vercel[bot]