Skip to content

Commit

Permalink
NuGet and PWA bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pmachapman committed Oct 8, 2021
1 parent 78042dc commit fd58ce3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions GoToBible.Model/GoToBible.Model.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<PackageProjectUrl>https://goto.bible/</PackageProjectUrl>
<PackageIcon>App.png</PackageIcon>
<PackageIconUrl />
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<RepositoryUrl>https://github.com/pmachapman/GoTo.Bible.git</RepositoryUrl>
<NeutralLanguage>en-NZ</NeutralLanguage>
Expand All @@ -26,18 +27,16 @@
<ApplicationIcon>App.ico</ApplicationIcon>
<PackageLicenseExpression>LGPL-3.0-or-later</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>Bug fixes and improvements found when porting the unit tests from Swift</PackageReleaseNotes>
<Version>1.1.4</Version>
<PackageReleaseNotes>Bug fixes for one chapter books</PackageReleaseNotes>
<Version>1.1.8</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\GoToBible.Model.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Remove="App.png" />
<None Remove="LICENSE.md" />
<None Remove="LICENSE.md" />
<None Include="..\README.md" Pack="true" PackagePath="\"/>
<None Include="App.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
Expand Down
3 changes: 2 additions & 1 deletion GoToBible.Web/Client/wwwroot/service-worker.published.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ self.addEventListener('install', event => event.waitUntil(onInstall(event)));
self.addEventListener('activate', event => event.waitUntil(onActivate(event)));
self.addEventListener('fetch', event => event.respondWith(onFetch(event)));

const CACHE_VERSION = '1.1.8'
const cacheNamePrefix = 'offline-cache-';
const cacheName = `${cacheNamePrefix}${self.assetsManifest.version}`;
const cacheName = `${cacheNamePrefix}${CACHE_VERSION}`;
const offlineAssetsInclude = [ /\.dll$/, /\.pdb$/, /\.wasm/, /\.html/, /\.js$/, /\.json$/, /\.css$/, /\.woff$/, /\.png$/, /\.jpe?g$/, /\.gif$/, /\.ico$/, /\.blat$/, /\.dat$/ ];
const offlineAssetsExclude = [ /^service-worker\.js$/ ];

Expand Down

0 comments on commit fd58ce3

Please sign in to comment.