]> BookStack Code Mirror - bookstack/blobdiff - config/filesystems.php
Add socialite authentication for okta
[bookstack] / config / filesystems.php
index 5fd3df6df848da25246a9c12371b813a2f232913..836f68d3d4224ece88983a5c4d4b7b859bc45b50 100644 (file)
@@ -15,7 +15,18 @@ return [
     |
     */
 
-    'default' => 'local',
+    'default' => env('STORAGE_TYPE', 'local'),
+
+    /*
+    |--------------------------------------------------------------------------
+    | Storage URL
+    |--------------------------------------------------------------------------
+    |
+    | This is the url to where the storage is located for when using an external
+    | file storage service, such as s3, to store publicly accessible assets.
+    |
+    */
+    'url' => env('STORAGE_URL', false),
 
     /*
     |--------------------------------------------------------------------------
@@ -45,7 +56,7 @@ return [
 
         'local' => [
             'driver' => 'local',
-            'root'   => public_path(),
+            'root'   => base_path(),
         ],
 
         'ftp' => [