caterpillar/api/pwa/config/entrypoint.ts

2 lines
110 B
TypeScript

export const ENTRYPOINT = typeof window === "undefined" ? process.env.NEXT_PUBLIC_ENTRYPOINT : window.origin;