~sotirisp/kindleto

5e8828e1afe2e6403689db1d31ca03931100f360 — Sotiris Papatheodorou 1 year, 10 months ago 395428d
Fix formatting
1 files changed, 2 insertions(+), 2 deletions(-)

M file/proxy.go
M file/proxy.go => file/proxy.go +2 -2
@@ 99,9 99,9 @@ func init() {
	// The Kindle's MIME database doesn't seem to containg a mapping for
	// .txt.
	mappings := map[string]string{
		".gmi": "text/gemini",
		".gmi":    "text/gemini",
		".gemini": "text/gemini",
		".txt": "text/plain",
		".txt":    "text/plain",
	}
	for e, t := range mappings {
		err := mime.AddExtensionType(e, t)