Hey again! So I deployed my next app from your tem...
# support-questions-legacy
b
Hey again! So I deployed my next app from your template now and set both the
NEXT_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:
Copy code
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?