Open MoNakouzi opened 5 months ago
Due to various errors in redirect, we used process.env.NEXT_PUBLIC_BASE_URL instead of using {origin} from /next/headers. Now that all the redirect URLs are fixed, update all the points that use the env var to use origin instead.
process.env.NEXT_PUBLIC_BASE_URL
{origin}
/next/headers
Due to various errors in redirect, we used
process.env.NEXT_PUBLIC_BASE_URL
instead of using{origin}
from/next/headers
. Now that all the redirect URLs are fixed, update all the points that use the env var to use origin instead.