i can dump config('app.url') or env('APP_URL') and they both give me "https://superdomain.com" but the urls in the email still use "http://localhost". I also have my .env set with APP_URL=https://superdomain.com and there are no other .env files in the root dir.
i had done php artisan config:clear but now i ran your command and dumping env('APP_URL') from the controller gives me "null" instead of "https://superdomain.com" and makes me wonder if i had forgotten to dump the env variable earlier. i know i dumped the config variable.
i wonder what could cause my env variable to return null. i checked the file perms and that is good. The whole app works except for this strange issue.
well, i was trying to dump env('APP_URL') using a variable named $env... now dumping with $url = env('APP_URL'); returns the domain, but url is still not created properly in email. very annoying.