Skip to content

Commit

Permalink
Merge pull request #5 from KB-iGOT/vapt-issue-for-subresource-integrity
Browse files Browse the repository at this point in the history
update for vapt issue for subresource integrity
  • Loading branch information
vishnubansaltarento authored Aug 27, 2024
2 parents 12218b4 + b3ac45f commit 4a542a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"start": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng serve --proxy-config proxy/localhost.proxy.json -o",
"dev": "npm run start:spv-dev",
"prebuild": "npm run lint:fix",
"build-dev": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --configuration=dev --outputPath=dist/www/en --baseHref=/ --i18nLocale=en",
"build-preprod": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --configuration=preprod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en",
"build": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en",
"build-dev": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --configuration=dev --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --subresource-integrity",
"build-preprod": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --configuration=preprod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --subresource-integrity",
"build": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --prod --outputPath=dist/www/en --baseHref=/ --i18nLocale=en --subresource-integrity",
"postbuild": "npm run compress:gzip && npm run compress:brotli",
"compress:brotli": "gzipper --brotli --gzip-level=9 --verbose ./dist/www",
"compress:gzip": "gzipper --verbose --gzip-level=9 ./dist/www",
Expand Down
5 changes: 3 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
<meta id="id-app-theme-color" name="theme-color" content="#000" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="/assets/env.js"></script>
<script src="/assets/env.js" integrity="sha384-0Tps/HS862XK2N4q1hRoKSjM/d1DI3UjD4P1jd+EJ3vW5xBI3BPodLIxNflcdOZO"
crossorigin="anonymous"></script>
</head>

<body class="mat-app-background mat-body mat-typography custom-scroll">
Expand Down Expand Up @@ -89,4 +90,4 @@

</script>

</html>
</html>

0 comments on commit 4a542a8

Please sign in to comment.