Pain under ribs

De

For the last hour I’ve been experiencing pain and discomfort under my ribs. It has been on an off. I’m 31 weeks 2 days pregnant. I have been burping too..

I’ve only had heartburn at the beginning of pregnancy and it was more in my throat.. I am wondering if this is just gas or if it is something more to be concerned about?