Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

165 B
Raw Blame
export const API_URL =
  process.env.NODE_ENV === 'production'
    ? 'https://api.openpanel.dev'
    : (process.env.NEXT_PUBLIC_API_URL ?? 'http://localhost:3333');