caterpillar/api/pwa/config/entrypoint.ts

2 lines
110 B
TypeScript
Raw Normal View History

2022-09-17 22:54:00 +02:00
export const ENTRYPOINT = typeof window === "undefined" ? process.env.NEXT_PUBLIC_ENTRYPOINT : window.origin;