mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 16:05:00 -05:00
fix: move off of edge runtime
This commit is contained in:
parent
275f236365
commit
119b79d985
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user