From b8eb008dd5927fb736e56699637f5f8549965eae Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 6 Dec 2023 18:20:54 +0100 Subject: refactor(hooks): replace useGithubApi with useGithubRepoMeta * use GraphQL API instead of REST (the inconvenient however is that we now need an authorization token...) * move fetcher in services * add tests * mock response using MSW --- .env.example | 1 + 1 file changed, 1 insertion(+) (limited to '.env.example') diff --git a/.env.example b/.env.example index dbfb664..12ac09a 100644 --- a/.env.example +++ b/.env.example @@ -33,6 +33,7 @@ APP_FEED_DESCRIPTION="What you want..." NEXT_PUBLIC_ACKEE_DOMAIN="www.ackeeDomain.com" NEXT_PUBLIC_ACKEE_FILENAME="tracker.js" NEXT_PUBLIC_ACKEE_SITE_ID="your-id-string" +NEXT_PUBLIC_GITHUB_TOKEN="your-token" # Use this only in development mode. It prevents "unable to verify the first # certificate" error when using a local domain with mkcert certificate for -- cgit v1.2.3