Support for multiple websites in same infobox

This commit is contained in:
Taevas 2023-05-16 00:41:02 +02:00
parent daba8dd68f
commit 6398e40e31
12 changed files with 172 additions and 166 deletions

View file

@ -1,6 +1,6 @@
import { Handler } from '@netlify/functions'
import { Octokit } from '@octokit/core'
import { GithubInfo } from '../../src/components/Github'
import { GithubInfo } from '../../src/components/Git'
const handler: Handler = async (event, context) => {
let octokit = new Octokit({auth: process.env.API_GITHUB})