File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 7
7
# NEXT_PUBLIC_ALGOLIA_APP_ID=insertValue
8
8
# NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=insertValue
9
9
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
10
+
11
+ # Github token for read-only use with api functions
10
12
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue
11
13
12
14
# Etherscan API key (required for Etherscan API fetches)
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async function fetchWithRateLimit(filepath: string): Promise<Commit[]> {
11
11
url . searchParams . set ( "path" , filepath )
12
12
url . searchParams . set ( "sha" , "master" )
13
13
14
- const gitHubToken = process . env . GITHUB_TOKEN_READ_ONLY
14
+ const gitHubToken = process . env . NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY
15
15
16
16
// If no token available, return empty array
17
17
if ( ! gitHubToken ) return [ ]
You can’t perform that action at this time.
0 commit comments