Answer the question
In order to leave comments, you need to log in
How to close access to js file at the root?
Hello, you need to block access to files that are located in the root of the site:
<FilesMatch "^(webpack\.mix\.js|package-lock\.json|package\.json|mix-manifest\.json|README\.md)">
Order allow,deny
Deny from all
</FilesMatch>
Answer the question
In order to leave comments, you need to log in
In general, only the assembly, without source codes, should lie in the root of the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question