Skip to content

Commit

Permalink
enable printing user object in production (#2881)
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 authored Jul 24, 2024
1 parent 4736f54 commit 8537e04
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/webserver/site/src/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ export default class Application {
}, 0)
}

if (process.env.NODE_ENV === 'development') {
window.user = () => this.user
}
window.user = () => this.user
}

/**
Expand Down

0 comments on commit 8537e04

Please sign in to comment.