Closed ikwyl6 closed 4 years ago
When clicking a link, it should just request the file directly from the web server.
Can you post an example request with the list of headers?
On Thu, 14 Nov 2019 at 19:13, ikwyl6 notifications@github.com wrote:
When I click on pretty much any file it prompts me to download it. I would rather view it (txt or pdf as example). Is there a way to change the application/stream so it views the file instead of downloading it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jcampbell1/simple-file-manager/issues/104?email_source=notifications&email_token=AAAGGG2CZIXHFJO3NWNNSNTQTYAVPA5CNFSM4JNUOP2KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZPSMEA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGGG6XEYC2Z2LEQEY2A7TQTYAVPANCNFSM4JNUOP2A .
Seems like when I add the mime-type into lighttpd and reload, it views the pdf...
When I click on pretty much any file it prompts me to download it. I would rather view it (txt or pdf as example). Is there a way to change the application/stream so it views the file instead of downloading it?