Skip to content
Snippets Groups Projects
Commit c465cc2e authored by jojohoch's avatar jojohoch
Browse files

[player] Disable logs to console in production

parent 76832ef7
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ Player
======
next
- Improve the centering of the layout
- Disable logs to console in production
1.15.0
- Fix restoring of toggle buttons
......
......@@ -6,9 +6,9 @@ import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
// if (window) {
// window.console.log = () => {};
// }
if (window) {
window.console.log = () => {};
}
}
platformBrowserDynamic().bootstrapModule(AppModule)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment