Fix config not set redirect.

Fixes #7.