Walking while pregnant

I’ve been walking over a mile every night to Exercise I feel a small pain on my side stomach but that’s all. I don’t see nothing wrong w that if anything it’s good that I’m doing that. But my mom keeps bothering me about it saying it isn’t good for the baby. Is that okay ? To walk every night for that long ?