Spicy food

Is it safe to eat spicy food when pregnant? I don’t eat them often but I had a craving tonight for some spicy ramen soup! I thoroughly enjoyed it but my mouth was on 🔥 ...