mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +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() {
|
||||
return (
|
||||
window.location.hostname.indexOf("dev.coder.com") > -1 ||
|
||||
window.location.hostname.indexOf("localhost") > -1 ||
|
||||
window.location.hostname.indexOf("127.0.0.1") > -1
|
||||
process.env.NODE_ENV === "development" &&
|
||||
(window.location.hostname.indexOf("localhost") > -1 ||
|
||||
window.location.hostname.indexOf("127.0.0.1") > -1)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user