Mayonnaise in pregnancy

Me
So, I know mayonnaise is a big no no
In pregnancy, but I read online that supermarket mayo is okay as it is pasteurised , but not homemade mayo as it is not! What are your thoughts??