Skip to content

Allowing browser to view files instead of always downloading.. - fileviewer.php#221

Open
nbkhwjm wants to merge 1 commit intodotproject:develfrom
nbkhwjm:patch-1
Open

Allowing browser to view files instead of always downloading.. - fileviewer.php#221
nbkhwjm wants to merge 1 commit intodotproject:develfrom
nbkhwjm:patch-1

Conversation

@nbkhwjm
Copy link

@nbkhwjm nbkhwjm commented Dec 5, 2024

Changed "Content-disposition" header from "attachment" to "inline" to allow the file to be opened by the browser directly instead of downloading every time.

Changed "Content-disposition" header from Attachment to inline to allow the file to be opened by the browser directly instead of downloading every time.
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

Successfully merging this pull request may close these issues.

1 participant