From a1cbce8275da55e8539be665864bc67b6b8ca22a Mon Sep 17 00:00:00 2001 From: ysmoradi Date: Thu, 19 Sep 2024 22:39:39 +0200 Subject: [PATCH] integrity --- .../Bit.BlazorUI.Demo.Client.Web.csproj | 2 +- .../wwwroot/service-worker.published.js | 5 +++-- .../Boilerplate.Client.Web/Boilerplate.Client.Web.csproj | 2 +- .../Client/Boilerplate.Client.Web/wwwroot/service-worker.js | 3 ++- .../Bit.Websites.Careers.Client.csproj | 1 + .../Bit.Websites.Platform.Client.csproj | 1 + .../Bit.Websites.Sales.Client.csproj | 1 + 7 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj index 55f21d0b50..e93a9aead8 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/Bit.BlazorUI.Demo.Client.Web.csproj @@ -9,7 +9,7 @@ true true service-worker-assets.js - false + false true Default diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js index e1eecbb222..d36d6d4622 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Web/wwwroot/service-worker.published.js @@ -32,10 +32,11 @@ self.serverHandledUrls = [ /\/api.fda.gov/ ]; -self.isPassive = true; self.defaultUrl = "/"; +self.errorTolerance = 'lax'; self.caseInsensitiveUrl = true; +self.enableIntegrityCheck = false; self.noPrerenderQuery = 'no-prerender=true'; -self.disablePassiveFirstBoot = true; +self.isPassive = self.disablePassiveFirstBoot = true; self.importScripts('_content/Bit.Bswup/bit-bswup.sw.js'); \ No newline at end of file diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj index ef1c9ca4e8..a6debb9276 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/Boilerplate.Client.Web.csproj @@ -9,7 +9,7 @@ true true service-worker-assets.js - false + false true Default diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js index 7c90a16991..9e86c2c13c 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Web/wwwroot/service-worker.js @@ -34,9 +34,10 @@ self.serverHandledUrls = [ ]; self.defaultUrl = "/"; +self.errorTolerance = 'lax'; self.caseInsensitiveUrl = true; +self.enableIntegrityCheck = false; self.noPrerenderQuery = 'no-prerender=true'; self.isPassive = self.disablePassiveFirstBoot = true; -self.errorTolerance = 'lax'; self.importScripts('_content/Bit.Bswup/bit-bswup.sw.js'); \ No newline at end of file diff --git a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj index 8bd76bbc37..94077ed645 100644 --- a/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj +++ b/src/Websites/Careers/src/Bit.Websites.Careers.Client/Bit.Websites.Careers.Client.csproj @@ -5,6 +5,7 @@ true Default true + false BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) diff --git a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj index 723607d16e..754df23833 100644 --- a/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj +++ b/src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj @@ -5,6 +5,7 @@ true Default true + false BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn) diff --git a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj index 2d33d8636b..0a3855e952 100644 --- a/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj +++ b/src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj @@ -5,6 +5,7 @@ true Default true + false BeforeBuildTasks; $(ResolveStaticWebAssetsInputsDependsOn)