Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

277 B
Raw Blame
import { redirect } from 'react-router'

import { isSelfhosted } from '~/lib/constants'

export async function loader() {
  if (isSelfhosted) {
    return redirect('/login', 302)
  }

  return redirect('/', 302)
}

export default function ReferralPageRoute() {
  return null
}