Skip to content

Heavy bot traffic to our API with node-fetch user agent? Friend or foe? #168

Locked Answered by mlstubblefield
mlstubblefield asked this question in Help
Discussion options

You must be logged in to vote

This is a little embarrassing, but at the end of the day this was a fetch call that we were making inside of the getStaticProps method. I was able to identify that by setting a custom user agent in that method. Then my logs (unsurprisingly) switched to have the new user agent in them.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by leerob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants