pldubouilh / gossa

🎶 a fast and simple multimedia fileserver
MIT License
874 stars 73 forks source link

Open html file instead of downloading #83

Closed penguinsam closed 1 year ago

penguinsam commented 2 years ago

I intended to host gossa to serve all my HTMLs I downloaded by SingleFile, but just found for html its default action is to download.

Can make an option or config so that it can render the html as web browser?

pldubouilh commented 2 years ago

if you're interested doing a PR for that, I'd accept it - it's just about adding a statement here to let the browser follow the link naturally instead of executing dl :) otherwise I'll cover that next release, but it might take a while.

penguinsam commented 2 years ago

Yes please. It really helps!