Skip to content

Commit

Permalink
Fix polyfill issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Jun 11, 2024
1 parent 29c0874 commit df972a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
"deploy": {
"builder": "angular-cli-ghpages:deploy",
"options": {
"name": "Ariton Team",
"email": "[email protected]",
"name": "sondreb",
"email": "[email protected]",
"baseHref": "/ariton/",
"dir": "dist/app",
"repo": "https://github.com/block-core/ariton.git"
Expand Down
4 changes: 3 additions & 1 deletion app/src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ import * as crypto from 'crypto';
import * as stream from 'stream';

(window as any).process = process;
(window as any).crypto = crypto;
if (!(window as any).crypto) {
(window as any).crypto = crypto;
}
(window as any).stream = stream;

0 comments on commit df972a6

Please sign in to comment.