When i make a request to get this image i see some headers that I dont think i need when serving images. For example set cookie with xsrf token and another set cookie with session and also i have Vary: X-Inertia header.
I guess it is because my route is in web.php should i move that route to api.php?
Are file serving routes supposed to be served via api routes?