benjick
10/31/2021, 4:24 PMNEXT_PUBLIC_APP_URL
and APP_URL
vars but I still get redirected to localhost. From the config file I put a console.log just to make sure:
js
const websiteDomain =
process.env.APP_URL ||
process.env.NEXT_PUBLIC_APP_URL ||
`http://localhost:${port}`;
console.log('websiteDomain', websiteDomain);
and it logs the correct url. Any ideas?