Can I drink ginger tea for nausea?

I grew up drinking ginger tea for any stomach issues, especially nausea. It's not ginger tea in a box, just straight up peeled and wash ginger in a pot w some water brought to a boil and then strained. It's honestly magical. Is it ok to drink this for morning sickness? I hear all these horror stories about tea being so bad for the baby.