🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
export function useAppEnv() { const hostname = typeof window !== "undefined" ? window.location.hostname : ""; if (hostname === "demo.rybbit.com") { return "demo"; } if (hostname === "app.rybbit.io") { return "prod"; } return null; }