chore(website): cleanup ts-errors

This commit is contained in:
iCrawl
2023-04-14 20:03:40 +02:00
parent 2c25639a85
commit 615752e32b
14 changed files with 17 additions and 107 deletions

View File

@@ -3,9 +3,8 @@
import type { ApiItemKind } from '@microsoft/api-extractor-model';
import { ImageResponse } from '@vercel/og';
import type { NextRequest } from 'next/server';
import type { ServerRuntime } from 'next/types';
export const runtime: ServerRuntime = 'edge';
export const runtime = 'edge';
const fonts = Promise.all([
fetch(new URL('../../../assets/fonts/Inter-Regular.ttf', import.meta.url)).then(async (res) => res.arrayBuffer()),