From 8537e0496df049800778affcc4f5633ea58939f5 Mon Sep 17 00:00:00 2001 From: buck54321 Date: Wed, 24 Jul 2024 15:20:47 -0500 Subject: [PATCH] enable printing user object in production (#2881) --- client/webserver/site/src/js/app.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/webserver/site/src/js/app.ts b/client/webserver/site/src/js/app.ts index fcd9c8da6a..53c5bfbc6e 100644 --- a/client/webserver/site/src/js/app.ts +++ b/client/webserver/site/src/js/app.ts @@ -236,9 +236,7 @@ export default class Application { }, 0) } - if (process.env.NODE_ENV === 'development') { - window.user = () => this.user - } + window.user = () => this.user } /**