Files
manoon-headless/src/app/api/op/[...path]/route.ts
Unchained 044aefae94
Some checks are pending
Build and Deploy / build (push) Waiting to run
fix: remove dev.manoonoils.com from ingress and update OpenPanel API URL
- Remove dev.manoonoils.com from storefront ingress to prevent cross-domain tracking issues
- Use environment variable for OpenPanel API URL in route handler
- Fixes session state conflicts from multiple domains
2026-03-30 20:40:17 +02:00

6 lines
191 B
TypeScript

import { createRouteHandler } from "@openpanel/nextjs/server";
export const { GET, POST } = createRouteHandler({
apiUrl: process.env.OPENPANEL_API_URL || "https://op.nodecrew.me/api",
});