Yes, you should consult with a doctor before eating red cabbage during your pregnancy. This is because babies often develop colic when their mothers have eaten cabbage during pregnancy. Colic is a condition where an infant cries for at least 3 hours a day, for at least 3 days a week, and this persists for at least 3 weeks. Due to this, doctors may recommend you to not eat red cabbage when pregnant.

Pregnancy and Coronavirus (COVID-19)
What effect does coronavirus have on pregnant women? Pregnant women do not appear to be more susceptible to the consequences of coronavirus than the general population and there is no evidence that the virus can pass to a baby during pregnancy