fix: remove dev.manoonoils.com from ingress and update OpenPanel API URL
Some checks failed
Build and Deploy / build (push) Has been cancelled

- 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
This commit is contained in:
Unchained
2026-03-30 20:40:17 +02:00
parent 36915a3f75
commit 044aefae94
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ spec:
- web
- websecure
routes:
- match: Host(`dev.manoonoils.com`) || Host(`manoonoils.com`) || Host(`www.manoonoils.com`)
- match: Host(`manoonoils.com`) || Host(`www.manoonoils.com`)
kind: Rule
services:
- name: storefront

View File

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