]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/polyfills.ts
Fix redirection after the upload of a video
[github/Chocobozzz/PeerTube.git] / client / src / polyfills.ts
index 3395eed762d66e348bc8215e4ae602d19782d125..cf7270ac338829182d69257c3205b70e52310624 100644 (file)
@@ -14,15 +14,8 @@ require('zone.js/dist/zone');
 // Typescript emit helpers polyfill
 import 'ts-helpers';
 
-if ('production' === ENV) {
-  // Production
-
-
-} else {
-  // Development
-
+if ('production' !== ENV) {
   Error.stackTraceLimit = Infinity;
 
   require('zone.js/dist/long-stack-trace-zone');
-
 }