Next.js Discord

Discord Forum

Possible to disable a route?

Answered
Lakeland Terrier posted this in #help-forum
Open in Discord
Lakeland TerrierOP
I have a persistent threat that continues to attempt to access the api/auth/session route on a webpage. How should I handle this? Is there a way to disable this specific route? Should I redirect to a massive download file?
Answered by Jboncz
and hope they stop after a bit and can turn it back off
View full answer

6 Replies

You can enable vercels attack challenge mode
and hope they stop after a bit and can turn it back off
Answer
@Jboncz and hope they stop after a bit and can turn it back off
Lakeland TerrierOP
I will start there, thank you. I guess moving forward I will not use the default route when I configure auth.
Original message was deleted
Please mark solution on the post so it closes when you get a moment @Lakeland Terrier
np!