Flo Smilari 4 роки тому
джерело
коміт
3e0011289f
2 змінених файлів з 2 додано та 2 видалено
  1. 1
    1
      cwebplusApp.csproj
  2. 1
    1
      wwwroot/service-worker.js

+ 1
- 1
cwebplusApp.csproj Переглянути файл

<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest> <ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<Version>0.2.0</Version>
<Version>0.9.0</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

+ 1
- 1
wwwroot/service-worker.js Переглянути файл

// This is because caching would make development more difficult (changes would not // This is because caching would make development more difficult (changes would not
// be reflected on the first load after each change). // be reflected on the first load after each change).
const staticCacheName = 'site-static-v-0-2-0'; // IMPORTANT: CHANGE THE VERSION IN THIS NAME EVERY TIME THE APP IS DEPLOYED ON SERVER WITH CHANGES!!!
const staticCacheName = 'site-static-v-0-9-0'; // IMPORTANT: CHANGE THE VERSION IN THIS NAME EVERY TIME THE APP IS DEPLOYED ON SERVER WITH CHANGES!!!
const appsettings_url = 'appsettings.json'; const appsettings_url = 'appsettings.json';
const assets = [ const assets = [
'./', './',

Завантаження…
Відмінити
Зберегти