404 error when viewing or downloading document

Almost there. Got some acceptable invoices, now the last step is to get them out and get paid for all my hard labor.
Unfortunately, when I try to view, download or email any invoice I get a 404: Route does not exist.

The download option sheds some light on the situation, because it presents me with an actual URL. The ’ public’ folder is missing from it. When I enter it manually, I can download my invoice (yay!).

I tried to add ‘public’ to my APP_URL in the .env but that didn’t cut it.

Hi,

Maybe you need to run php artisan optimize after changing the .env file?

1 Like

Of course! Working now.
Thanks.

1 Like