123/myapp/config/filesystem.py

22 lines
509 B
Python
Raw Normal View History

2023-08-08 22:04:06 +00:00
from masonite.environment import env
from masonite.utils.location import base_path
DISKS = {
"default": "local",
"local": {"driver": "file", "path": base_path("storage/framework/filesystem")},
"s3": {
"driver": "s3",
"client": env("S3_CLIENT"),
"secret": env("S3_SECRET"),
"bucket": env("S3_BUCKET"),
},
}
STATICFILES = {
# folder # template alias
"storage/static": "static/",
"storage/compiled": "assets/",
"storage/public": "/",
}