Both are correct but Adref is more traditional. Both should be accepted in the course.
"home" is a noun ("a place where you live", more or less) but it is also an adverb ("to the place where you live"), as in "I am going home now".
adre, adref can have that adverb meaning of "home", e.g. "going home" = mynd adre.