NextJS Process.ENV не определен
This envs just works in Server Side. To access this envs in Client Side,
you need declare in the next.config.js
This way:
module.exports = {
reactStrictMode: true,
env: {
BASE_URL: process.env.BASE_URL,
}
}
Shirshak kandel