working images are displayed fine, but 404 are evaluated to localhost:8888/user/@/assets/img/user/default-user.svg
how can i make the error files work and be evaluated correctly?
( this <img src="@/assets/img/user/default-user.svg"> on its own works fine, but i want it only for 404 )
i'm trying to display a default-user image for user avatars, if they 404.
with this code
working images are displayed fine, but 404 are evaluated to
localhost:8888/user/@/assets/img/user/default-user.svg
how can i make the error files work and be evaluated correctly?( this
<img src="@/assets/img/user/default-user.svg">
on its own works fine, but i want it only for 404 )