Sweet cravings

SA

I am 35 weeks and crave sweets chocholates cakes all the time ! I want to know is it bad for the baby . I have a piece of cake almost everyday . Did you have sweet when you were pregnant and is your baby ok and healthy ?