Discharge or fluid?

A

I stood up and a big amount of warm discharge came out. It was whitish but in the edges completely watery..it saturated my panty. It stopped after that and I tried coughing and nothing came out but the amount of discharge was lots, enough to go through my PJs. Should I be concerned ? Could it be amniotic fluid? Or would it keep leaking ? I'm 31w2d.