GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

Incorrect image URL in Blazor application #209

Closed bitsdontbite closed 8 months ago

bitsdontbite commented 1 year ago

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:

`

    </NVBlock>

` TO BE:

`

    </NVBlock>

`

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:

vvdb-architecture commented 10 months ago

Confirmed fixed in ACC