fix: remove dev.manoonoils.com from ingress and update OpenPanel API URL
Some checks failed
Build and Deploy / build (push) Has been cancelled
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:
@@ -8,7 +8,7 @@ spec:
|
|||||||
- web
|
- web
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`dev.manoonoils.com`) || Host(`manoonoils.com`) || Host(`www.manoonoils.com`)
|
- match: Host(`manoonoils.com`) || Host(`www.manoonoils.com`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: storefront
|
- name: storefront
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { createRouteHandler } from "@openpanel/nextjs/server";
|
import { createRouteHandler } from "@openpanel/nextjs/server";
|
||||||
|
|
||||||
export const { GET, POST } = createRouteHandler({
|
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