release: WRNexusJS 0.8.0
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export async function POST(ctx: { req: Request }): Promise<Response> {
|
||||
const handler = (globalThis as any).__wrnexusGraphqlHandler;
|
||||
if (typeof handler !== "function")
|
||||
return new Response("GraphQL is not configured", { status: 503 });
|
||||
return handler(ctx.req);
|
||||
}
|
||||
Reference in New Issue
Block a user