From 62d6de5bb3a327c3410119bc53ec27de50ca71df Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Sat, 28 Oct 2023 18:38:20 +0200 Subject: [PATCH] fix: og image --- app/api/og.png/route.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/og.png/route.tsx b/app/api/og.png/route.tsx index a62f761f..bf4553d9 100644 --- a/app/api/og.png/route.tsx +++ b/app/api/og.png/route.tsx @@ -1,6 +1,6 @@ -import { type NextRequest, ImageResponse } from 'next/server'; +import { ImageResponse } from 'next/og'; +import type { NextRequest } from 'next/server'; import shipIcons from '@/lib/data/ship-icons.json'; -import { getShipName } from '@/lib/get-value'; // Config // ---------------