Skip to content

Commit 85e6774

Browse files
committed
simplify filesystem default config
1 parent 00f07ff commit 85e6774

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

config/filesystems.php

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,23 @@
4545

4646
'local' => [
4747
'driver' => 'local',
48-
'root' => storage_path('app'),
48+
'root' => storage_path('app'),
4949
],
5050

51-
'ftp' => [
52-
'driver' => 'ftp',
53-
'host' => 'ftp.example.com',
54-
'username' => 'your-username',
55-
'password' => 'your-password',
56-
57-
// Optional FTP Settings...
58-
// 'port' => 21,
59-
// 'root' => '',
60-
// 'passive' => true,
61-
// 'ssl' => true,
62-
// 'timeout' => 30,
51+
'public' => [
52+
'driver' => 'local',
53+
'root' => storage_path('app/public'),
54+
'visibility' => 'public',
6355
],
6456

6557
's3' => [
6658
'driver' => 's3',
67-
'key' => 'your-key',
59+
'key' => 'your-key',
6860
'secret' => 'your-secret',
6961
'region' => 'your-region',
7062
'bucket' => 'your-bucket',
7163
],
7264

73-
'rackspace' => [
74-
'driver' => 'rackspace',
75-
'username' => 'your-username',
76-
'key' => 'your-key',
77-
'container' => 'your-container',
78-
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
79-
'region' => 'IAD',
80-
'url_type' => 'publicURL',
81-
],
82-
8365
],
8466

8567
];

0 commit comments

Comments
 (0)