JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. 🚀. Built with 💜 by the Trigger.dev team.
The safeFetch request is sometimes rejected because of the current value of the User-Agent header.
This PR updates it to a newer browser version and also adds a function getRandomUserAgent, which returns random item from a list list with the 100 most often used user agent strings (at the current moment).
The
safeFetch
request is sometimes rejected because of the current value of theUser-Agent
header.This PR updates it to a newer browser version and also adds a function
getRandomUserAgent
, which returns random item from a list list with the 100 most often used user agent strings (at the current moment).