fix: move off of edge runtime

This commit is contained in:
dvelo 2025-05-05 20:20:01 -05:00
parent 275f236365
commit 119b79d985
2 changed files with 2 additions and 2 deletions

@ -1,5 +1,5 @@
import { ImageResponse } from "@vercel/og"; import { ImageResponse } from "@vercel/og";
import { NextRequest } from "next/server"; import type { NextRequest } from "next/server";
import { MongoClient } from "mongodb"; import { MongoClient } from "mongodb";
import fs from "node:fs"; import fs from "node:fs";
import path from "node:path"; import path from "node:path";

@ -4,7 +4,7 @@ import { NextRequest } from "next/server";
import { miniMessage } from "minimessage-js"; import { miniMessage } from "minimessage-js";
import { loadFonts } from "../../fonts"; import { loadFonts } from "../../fonts";
export const runtime = "edge"; // export const runtime = "edge";
// Function to parse MiniMessage and create JSX elements with styling // Function to parse MiniMessage and create JSX elements with styling
function parseMotdToJsx(text: string) { function parseMotdToJsx(text: string) {