Is there a way to prevent the .onrender.com generated domain from being used by outside traffic?
I’ve noticed one of them has actually be indexed by Google. I’m assuming I could do some redirection in my app code, but didn’t know if there was a setting in the platform to do this?
There isn’t currently a feature to disable/redirect the default domain, you would need to catch the domain and redirect it in your code, as you mentioned.