Initial commit

This commit is contained in:
Mike Nolan 2023-12-20 02:33:36 -06:00
parent 2934fdbd57
commit 6e2386ff52
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,7 @@
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -12,5 +13,7 @@
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.1" /> <PackageReference Include="SixLabors.ImageSharp" Version="3.1.1" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.0" /> <PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.0" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>
</Project> </Project>

View File

@ -30,7 +30,7 @@
<a class="dismiss">🗙</a> <a class="dismiss">🗙</a>
</div> </div>
<script src="_framework/blazor.webassembly.js"></script> <script src="_framework/blazor.webassembly.js"></script>
<script>navigator.serviceWorker.register('service-worker.published.js');</script> <script>navigator.serviceWorker.register('service-worker.js');</script>
</body> </body>
</html> </html>