UNPKG

get-hackathons

Version:

Easy retrieval of Hackathon data from the Devpost website

20 lines (19 loc) 711 B
export const CONFIG = { BASE_URL: "https://devpost.com", TIMEOUT: 5000, HEADERS: { cache: "force-cache", next: { revalidate: 3600 }, credentials: "omit", headers: { Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language": "en-US,en;q=0.9", "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1", "Cache-Control": "public, max-age=3600", }, method: "GET", mode: "cors", redirect: "follow", referrerPolicy: "no-referrer-when-downgrade", }, };