Copy
Ask AI
// app/api/echo/route.ts
import { serve } from "@novu/echo/next";
import { echo } from "../../echo/client";
export const { GET, POST, PUT } = serve({ client: echo });
// app/api/echo/route.ts
import { serve } from "@novu/echo/next";
import { echo } from "../../echo/client";
export const { GET, POST, PUT } = serve({ client: echo });
Was this page helpful?