The syntax you used is correct, but when building your Next.js application, it uses the empty variable. This may be due to the way environment variables are injected during the build process.