Update next export

This commit is contained in:
DefectingCat
2022-08-31 14:27:59 +08:00
parent 2b9db34c1b
commit 5dbe5c6cac
4 changed files with 27 additions and 5 deletions

View File

@ -4,6 +4,8 @@ import { GistsFile } from 'types';
const password = process.env.NEXT_PUBLIC_GITHUB_API;
const octokit = new Octokit({
auth: password,
// @TODO reverse proxy
baseUrl: 'http://api.github.com',
});
const linkMatch = /<(.*?)>/;