]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/polyfills.ts
advertising PeerTube's rather simple DNT policy
[github/Chocobozzz/PeerTube.git] / client / src / polyfills.ts
index 423a7b91589f559649ed309edbf0c04d70b1cf7b..eec30760df211f2c3eee5c31301f5770cc98ef22 100644 (file)
@@ -80,3 +80,9 @@ import 'zone.js/dist/zone'  // Included with Angular CLI.
 /***************************************************************************************************
  * APPLICATION IMPORTS
  */
+
+// global/process polyfills
+
+;(window as any).global = window;
+;(window as any).process = require('process/');
+;(window as any).Buffer = require('buffer/').Buffer;