Describe the bug
Error 404 for icon-512.png when blazor ui is released in DEV on IIS with virtual path.
This issue is cause by a leading '/' in href and/or src (path not relative).
This happens in several places:
About.razor
AS IS:
`
</NVBlock>
`
TO BE:
`
</NVBlock>
`
MainLayout.razor (already mentioned in issue #203)
manifest.json
AS IS:
"src": "/assets/img/icon-512.png",
TO BE:
"src": "assets/img/icon-512.png",
To Reproduce
Deploy the default blazor ui in DEV - icon will be missing, open the console to see the 404 errors.
Describe the bug Error 404 for icon-512.png when blazor ui is released in DEV on IIS with virtual path. This issue is cause by a leading '/' in href and/or src (path not relative).
This happens in several places:
AS IS:
`
` TO BE:
`
`
AS IS:
"src": "/assets/img/icon-512.png",
TO BE:
"src": "assets/img/icon-512.png",
To Reproduce Deploy the default blazor ui in DEV - icon will be missing, open the console to see the 404 errors.
Expected behavior No 404 error for this image.
Desktop: