Hacker News new | ask | show | jobs
by joeframbach 73 days ago
In the case of authentication redirect, any inflight request is going to fail and you're about to navigate in a few milliseconds, so I don't resolve those promises. Return new Promise(() => {}).