]> git.localhorst.tv Git - alttp.git/commitdiff
add media storage
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 18 Aug 2022 13:30:14 +0000 (15:30 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 18 Aug 2022 13:30:14 +0000 (15:30 +0200)
.gitignore
config/filesystems.php

index 3165581562ad42b5d94a8b551f65524497d4f6b3..14b4d71f60c5ea8eae87e4e46bdf5a19b05aefe2 100644 (file)
@@ -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
index 4076fb54077e0b08eb33dac2550634d6af99d90c..3847f46a6648f72707e8ec4ac42e6858101000e0 100644 (file)
@@ -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'),
        ],
 
 ];