Next.js Discord

Discord Forum

Is it possible to suppress console errors caused by hitting redirects set in next.config.js?

Unanswered
German yellowjacket posted this in #help-forum
Open in Discord
German yellowjacketOP
I have a bunch of redirects set up in my next.config.js file. When I click a link in my app that matches the URL set in my redirect, I get the following error in my console:

Error: Failed to lookup route: /foobar

These really add up when a bunch of users are clicking the same links. Is it possible to suppress these errors?

0 Replies