Commit 8ae5cfd3842505847e8c879d7fba2bef2f655068
Handle .htm
cel committed on 9/28/2017, 4:38:22 AMParent: a0b2e873315a57a1c6881b8eb98b36072eed26a0
Files changed
dat.dpi | changed |
dat.dpi | |||
---|---|---|---|
@@ -190,8 +190,9 @@ | |||
190 | 190 … | ||
191 | 191 … | function detectContentType(pathname) { | |
192 | 192 … | var m = /[^.]*$/.exec(pathname) | |
193 | 193 … | switch (m && m[0]) { | |
194 … | + case 'htm': | ||
194 | 195 … | case 'html': return 'text/html' | |
195 | 196 … | case 'png': return 'image/png' | |
196 | 197 … | case 'gif': return 'image/gif' | |
197 | 198 … | case 'jpg': return 'image/jpeg' |
Built with git-ssb-web