Both are correct. In this position, the comma is optional. Once upon a time it used to be incorrect, and I tend not use it, but lots of people do now and it's considered OK.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.