Is it safe to travel at 30-31 weeks pregnant?

My hubby and I are ttc. We are hoping to book a trip this week for the end of August this year.

If we were to conceive this month by the time this trip arrives I’ll be 30-31 weeks pregnant.

Is it safe to travel at this stage of pregnancy?