Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic file system #168

Closed
CISPDEVELOP opened this issue Aug 11, 2023 · 1 comment
Closed

dynamic file system #168

CISPDEVELOP opened this issue Aug 11, 2023 · 1 comment

Comments

@CISPDEVELOP
Copy link

Can we make the storage system change based on some environment variable? by default s3 is used, if you want to change to public/local or other, you will have to replace many values throughout the application?

for example:

$disk = "public"; (/storage/app/public) or config('app.default_storage_disk')
instead of use "Storage::disk('s3')", use Storage::disk($disk)

I say it because of what I saw in the code since I did not find how to change the filesystem and use my local instead of s3

thanks

@JhumanJ
Copy link
Owner

JhumanJ commented Aug 16, 2023

Hi, thanks for the issue. Fixed in #165

@JhumanJ JhumanJ closed this as completed Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants