From de4ce986a7ca28f1f65f7bf2a0705eccb2ce08be Mon Sep 17 00:00:00 2001 From: Chingis Sandanov Date: Sat, 14 Sep 2024 11:26:34 +0700 Subject: [PATCH] Link laravel storage to public dir --- bin/init | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/init b/bin/init index df70113..9aad419 100755 --- a/bin/init +++ b/bin/init @@ -48,5 +48,6 @@ if [[ -n "${NGINX_VHOST_PRESET}" ]]; then mkdir -p "${APP_ROOT}/storage/app" files_link "${APP_ROOT}/storage/app/public" + ln -sf "${APP_ROOT}/storage/app/public" "${APP_ROOT}/public/storage" fi fi