minor fixes for nextjs

This commit is contained in:
dswbx committed 2025-03-03 07:10:32 +01:00
1 parent 09074f6591
commit 00f52eb096
6 files changed
+19 -5

No files matched your search

@@ -1,5 +1,9 @@
import { getApp } from "@/bknd";
// if you're not using a local media adapter, or file database,
// you can uncomment this line to enable running bknd on edge
// export const runtime = "edge";
const handler = async (request: Request) => {
const app = await getApp();
return app.fetch(request);
+3
View File
@@ -0,0 +1,3 @@
export const GET = async (req: Request) => {
return Response.json(process.env);
};