Next build inlines bare process.env.* as undefined without .env at build time. Use Reflect.get for admin API base and demo flag; add .env.production default for LXC.
3 lines
135 B
Bash
3 lines
135 B
Bash
# Lido em `next build` e em runtime (SSR). URL interna da API admin no CT único.
|
|
ERROR_REPORTING_ADMIN_API_BASE=http://127.0.0.1:3200
|