I'm trying to use a logo from my Angular application in my Spring backend when generating a PDF file of an invoice.
invoice.logo.url=http://localhost:4200/assets/gfx/img/logos/rkmteam-logo.png
The image doesn't show up on the PDF but when I upload it to lets say imgur.com then it works perfectly.
Manually going to the url sometimes shows the picture but sometimes gives me this error:
Error: Cannot match any routes. URL Segment: 'assets/gfx/img/logos/rkmteam-logo.png'
How can I access the images in external applications? I dont want to rely on third party sites (imgur and such).