...
Add the following code to your
app/etc/env.php
file
Code Block |
---|
'directories' => [
'document_root_is_pub' => true
], |
Update the configuration
General > Web > Unsecure Base URLs
Static View Files =
unsecure_base_url/static/
User Media Files =
unsecure_base_url/media/
General > Web > Secure Base URLs
Static View Files =
unsecure_base_url/static/
User Media Files =
unsecure_base_url/media/
...