fix: lambda for redirect moved from _baseconfig to defaults