We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777edd3 commit bde9e0fCopy full SHA for bde9e0f
index.js
@@ -132,7 +132,9 @@ module.exports.makeApp = function () {
132
config.get('API_URL'),
133
`package_search?rows=0`
134
)
135
- const response = await fetch(url)
+ const response = await fetch(url, {
136
+ headers: { 'User-Agent': 'frontend-v2/latest (internal API call from frontend app)' }
137
+ })
138
if (response.ok) {
139
const body = await response.json()
140
if (body.success == true) {
0 commit comments