I'm trying to load images from a folder in Asp.net Core 3.1 Web API by entering URL in the browser. But getting 404 error.
Here are the configurations of my Startup.cs:
What's wrong with my approach?
The issue was resolved after removing api/
from the URL. Thanks to @CaptainKenpachi for his comment.