Is epsom salt safe to use while pregnant?

My feet are really swollen and it's getting to the point were my shoes don't fit.