Broken image in Laravel 5.6 [Homestead]

Asked

Viewed 64 times

0

I uploaded an image to my application when using php Artisan serves, today I am using the Homestead, when I went to look the application barred my url and does not let be displayed.

<img src="/storage/avatars/{{ Auth::user()->imagem }}" />
  • Could you explain better the part where it says "application barred my url"? Checked in the browser developer tools what happened?

  • Hi @Andersoncarloswoss, I tried to access the full Uri and gave error: https://validacaolaravel.dev/storage/avatars/20180805-172903Fernando_Carvalho_Santana.jpeg Sorry, the page you are Looking for could not be found. Notfoundhttpexception in Routecollection.php line 161: This would be done in Nginx?

  • Reevaluate your questions. In no one has marked an answer like the right one, which escapes the standard of the site.

  • Where I rate @sam

  • In your "Profile" you have your questions history. Just enter each one and see if any answers solved the problem and mark it.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.