Liver pain

I am in my 31st week of pregnancy and for about the last week or so I have had pain in my right side when sitting down. I asked my doctor and she pressed the tender area and told me that area is my liver. Has anyone experienced liver pain and if so what causes it?