From 5cb7cb567817bb3f40443ecd0431154e92ed918d Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Thu, 18 Aug 2022 15:30:14 +0200 Subject: [PATCH] add media storage --- .gitignore | 1 + config/filesystems.php | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index 3165581..14b4d71 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ /public/js/vendor.js /public/js/vendor.js.LICENSE.txt /public/js/vendor.js.map +/public/media /public/mix-manifest.json /public/storage /public/surge diff --git a/config/filesystems.php b/config/filesystems.php index 4076fb5..3847f46 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -68,6 +68,13 @@ return [ 'root' => storage_path('app/aos-spoilers'), ], + 'media' => [ + 'driver' => 'local', + 'root' => storage_path('app/media'), + 'url' => env('APP_URL').'/media', + 'visibility' => 'public', + ], + 's3' => [ 'driver' => 's3', 'key' => env('AWS_ACCESS_KEY_ID'), @@ -97,6 +104,7 @@ return [ public_path('storage') => storage_path('app/public'), public_path('alttp-seeds') => storage_path('app/alttp-seeds'), public_path('aos-seeds') => storage_path('app/aos-seeds'), + public_path('media') => storage_path('app/media'), ], ]; -- 2.39.2