From: Daniel Karbach Date: Thu, 18 Aug 2022 13:30:14 +0000 (+0200) Subject: add media storage X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=5cb7cb567817bb3f40443ecd0431154e92ed918d;p=alttp.git add media storage --- 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'), ], ];