Почему изображения не отображаются в Интернете, хотя они отлично работают локально с использованием laravel и angular?Php

Кемеровские программисты php общаются здесь
Ответить
Anonymous
 Почему изображения не отображаются в Интернете, хотя они отлично работают локально с использованием laravel и angular?

Сообщение Anonymous »


in this my site https://www.aswaktinghir.com/ I've created a website using Laravel and Angular, and I've successfully hosted it. I deleted the storage directory for the images and then ran the command php artisan storage:link. I created a storage directory within the public directory and uploaded the images, but the images are not displaying online. I'm not sure why. I inspected my page and copied the image link Изображение and tried it in another browser, but it gives me a "Forbidden" error: "You don't have permission to access this resource." I even tried running chmod -R 775 storage, but the problem persists. When I take this link and change aswaktinghir.com to localhost, the image displays correctly.


Источник: https://stackoverflow.com/questions/780 ... ing-larave
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Php»