Accessing assets without url


I’m searching for a way to access the assets without url, so simple by the image name.
I thought I was rescued when I saw this link: “!/assets-lib”, but it kept responding with :"(node:6133) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, stat ‘/assets/image-33.png’ ". So is there any other method and/or perhaps something I’m doing wrong?

Thanks in regards,


Are you trying to reference the images using the relative path in server-side or client-side code? Assets-lib is for client-side only. For server-side you’d need to copy the images locally, using wget from the console.


It was a mistake of mine, my apologies for the unnecessary question ^^