Re: Reading Plain Text Files

On 26.03.21 08:30, Jason Evans wrote:
> rick gemini readers into seeing these files as plain text and then viewing them?

You should be able to specify the mime-type, that gets sent to the client 
in your servers configuration file (How exactly this is done is different 
from server to server and should be documented somewhere in an example 
configuration, README or manpage).
Depending on what else you have there, setting the default mime-type 
unknown filetypes to text/plain should work. (I'm pretty sure some servers 
also support overwriting mime-types for whole folders or even using regex)

I hope that helps, have a nice day!

- Baschdel

---

Previous in thread (4 of 8): 🗣️ Jason Evans (jsevans (a) mailfence.com)

Next in thread (6 of 8): 🗣️ (nothien (a) uber.space)

View entire thread.