-
-
Save iradofurioso/0733954557b9d61cb3c4532ffa7321fc to your computer and use it in GitHub Desktop.
Laravel - Security - Hiding image (or any other file with correct mime) real path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return response($myImagePath, 200)->header('Content-Type', 'image/jpeg'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment