TripSit / website

3 stars 6 forks source link

Hyperlinks referring to subdomains of tripsit.me return undefined. #134

Closed ELLEation closed 1 month ago

ELLEation commented 6 months ago

When using the website to look somethings up I noticed when trying to use certain hyperlinks that I would get redirected to a URL that contains "undefined" for anything that redirects to a subdomain.

Ex: combo.tripsit.me is redirecting to combo.undefined

It appears that process.env.NEXT_PUBLIC_DNS_DOMAIN is evaluating to undefined.

image

My proposed solution would be to ensure that ENV variables are being passed to the container correctly or to include it in a .ENV file.