Configure sentry and logrocket per-env

This commit is contained in:
2022-08-29 22:05:59 -04:00
parent e1e9a77c90
commit ddd67dc25c
3 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import setupLogRocketReact from "logrocket-react";
import store from "../lib/store";
LogRocket.init("0tlgj3/modmapper");
LogRocket.init(process.env.LOGROCKET_ID || "0tlgj3/modmapper");
if (typeof window !== "undefined") setupLogRocketReact(LogRocket);
LogRocket.getSessionURL((sessionURL) => {