firebase-tools
firebase-tools copied to clipboard
Firebase Hosting - Redirect subdomian "x.firebaseapp.com" to "mydomain.com"
Hello! I do not know if it's the right place to ask this question ...
How do I redirect the subdomain "proyect-name.firebaseapp.com" to "mydomain.com"?
I am currently viewing the same site in both domains. Is it possible to redirect?
Thank you!
The only way to do that is with a bit of javascript on page load to check the domain it is being presented on and redirect if the domain is your firebaseapp.com one. Otherwise, both sites will always work.
FWIW, you can always ask questions like this in the Firebase community Slack channel.
@bkendall thank you!!!!! :+1: :)