This could be solved by cloning the defaultResolverConfig object and marking it as const, or just moving the defaultResolver definition inside of the function. As-is, this bug will cause many 404s for ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する