File tree Expand file tree Collapse file tree
Blazor.PWA.MSBuild.Tasks/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414 <!-- Base URL for the app -->
1515 <ManifestBaseUrl Condition =" '$(ManifestBaseUrl)' == ''" >/</ManifestBaseUrl >
16+ <ManifestBaseUrl Condition =" !'$(ManifestBaseUrl.StartsWith(/)'" >/$(ManifestBaseUrl)</ManifestBaseUrl >
17+ <ManifestBaseUrl Condition =" !'$(ManifestBaseUrl.EndsWith(/)'" >$(ManifestBaseUrl)/</ManifestBaseUrl >
1618
1719 <!-- Please see https://developers.google.com/web/fundamentals/web-app-manifest/#display for options -->
1820 <ManifestDisplay Condition =" '$(ManifestDisplay)' == ''" >standalone</ManifestDisplay >
Original file line number Diff line number Diff line change 3434 <ServiceWorkerBlazorInstallMethod Condition =" '$(ServiceWorkerBlazorInstallMethod)'==''" >PWAInstallable</ServiceWorkerBlazorInstallMethod >
3535 <!-- Setup the declarations for the Service Worker Register -->
3636 <ServiceWorkerRegisterConstants Condition =" '$(ServiceWorkerRegisterConstants)' == ''" >
37- const serviceWorkerFileName = '$(ServiceWorkerBaseURL )$(ServiceWorkerFileName)'%3B;
37+ const serviceWorkerFileName = '$(ServiceWorkerBaseUrl )$(ServiceWorkerFileName)'%3B;
3838 const swInstalledEvent = '$(ServiceWorkerInstalledEvent)'%3B;
3939 const staticCachePrefix = '$(ServiceWorkerCacheName)-v'%3B;
4040 const updateAlertMessage = '$(ServiceWorkerUpdateAlertText)'%3B;
Original file line number Diff line number Diff line change 2828
2929 <!-- The "home route" url for the application -->
3030 <ServiceWorkerBaseUrl Condition =" '$(ServiceWorkerBaseUrl)' == ''" >/</ServiceWorkerBaseUrl >
31+ <ServiceWorkerBaseUrl Condition =" !'$(ServiceWorkerBaseUrl.StartsWith(/)'" >/$(ServiceWorkerBaseUrl)</ServiceWorkerBaseUrl >
32+ <ServiceWorkerBaseUrl Condition =" !'$(ServiceWorkerBaseUrl.EndsWith(/)'" >$(ServiceWorkerBaseUrl)/</ServiceWorkerBaseUrl >
3133
3234 <!-- The CSB home page served up for the base URL -->
3335 <ProjectIndexPage Condition =" '$(ProjectIndexPage)' == ''" >index.html</ProjectIndexPage >
You can’t perform that action at this time.
0 commit comments