mirror of
https://github.com/coder/coder.git
synced 2025-07-18 14:17:22 +00:00
chore: only add Meticulous recorder when running in dev mode (#13950)
This commit is contained in:
@ -31,9 +31,9 @@ async function startApp() {
|
|||||||
|
|
||||||
function isInternal() {
|
function isInternal() {
|
||||||
return (
|
return (
|
||||||
window.location.hostname.indexOf("dev.coder.com") > -1 ||
|
process.env.NODE_ENV === "development" &&
|
||||||
window.location.hostname.indexOf("localhost") > -1 ||
|
(window.location.hostname.indexOf("localhost") > -1 ||
|
||||||
window.location.hostname.indexOf("127.0.0.1") > -1
|
window.location.hostname.indexOf("127.0.0.1") > -1)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user