Skip to content

Commit

Permalink
removed service-worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
danzuep committed Jan 24, 2024
1 parent fb2017e commit 53687e3
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 110 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions Bible.Web/App.razor
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<RouteView RouteData="routeData" DefaultLayout="typeof(MainLayout)" />
<FocusOnNavigate RouteData="routeData" Selector="h1" />
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
</Router>
7 changes: 1 addition & 6 deletions Bible.Web/Bible.Web.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<RunAOTCompilation>true</RunAOTCompilation>
<WasmStripILAfterAOT>true</WasmStripILAfterAOT>
</PropertyGroup>
Expand All @@ -14,8 +13,4 @@
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.1" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<ServiceWorker Include="wwwroot\service-worker.js" PublishedContent="wwwroot\service-worker.published.js" />
</ItemGroup>

</Project>
16 changes: 13 additions & 3 deletions Bible.Web/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,27 @@
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:35082",
"sslPort": 44390
"applicationUrl": "http://localhost:42614",
"sslPort": 44388
}
},
"profiles": {
"http": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "http://localhost:5278",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"https": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7006;http://localhost:5027",
"applicationUrl": "https://localhost:7175;http://localhost:5278",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
6 changes: 0 additions & 6 deletions Bible.Web/wwwroot/appsettings.Development.json

This file was deleted.

6 changes: 0 additions & 6 deletions Bible.Web/wwwroot/appsettings.json

This file was deleted.

Binary file removed Bible.Web/wwwroot/icon-512.png
Binary file not shown.
5 changes: 0 additions & 5 deletions Bible.Web/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<link rel="stylesheet" href="css/app.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<link href="Bible.Web.styles.css" rel="stylesheet" />
<link href="manifest.webmanifest" rel="manifest" />
<link rel="apple-touch-icon" sizes="512x512" href="icon-512.png" />
<link rel="apple-touch-icon" sizes="192x192" href="icon-192.png" />
</head>

<body>
Expand All @@ -29,9 +26,7 @@
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
<script>navigator.serviceWorker.register('service-worker.js');</script>
</body>

</html>
22 changes: 0 additions & 22 deletions Bible.Web/wwwroot/manifest.webmanifest

This file was deleted.

4 changes: 0 additions & 4 deletions Bible.Web/wwwroot/service-worker.js

This file was deleted.

55 changes: 0 additions & 55 deletions Bible.Web/wwwroot/service-worker.published.js

This file was deleted.

0 comments on commit 53687e3

Please sign in to comment.