fix: remove dev.manoonoils.com from ingress and update OpenPanel API URL
Some checks are pending
Build and Deploy / build (push) Waiting to run
Some checks are pending
Build and Deploy / build (push) Waiting to run
- 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:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user