aboutsummaryrefslogtreecommitdiff
path: root/src/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.ts')
-rw-r--r--src/constants.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/constants.ts b/src/constants.ts
index 93ef85c..c78b7ea 100644
--- a/src/constants.ts
+++ b/src/constants.ts
@@ -60,7 +60,10 @@ async function fetchFile(path: string): Promise<GithubFile> {
const r = await fetchGithubApi(
'GET',
`/repos/${owner}/${repo}/contents/${path}`,
- { 'Accept': 'application/vnd.github.v3+json' },
+ {
+ 'Accept': 'application/vnd.github.v3+json',
+ 'Authorization': undefined
+ },
)
const data = await r.json()
return {