diff options
Diffstat (limited to 'atari/filetype.c')
-rwxr-xr-x | atari/filetype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atari/filetype.c b/atari/filetype.c index 85cfc59cd..e21f33c54 100755 --- a/atari/filetype.c +++ b/atari/filetype.c @@ -53,6 +53,8 @@ const char *fetch_filetype(const char *unix_path) return "image/jng";
if (2 < l && strcasecmp(unix_path + l - 3, "svg") == 0)
return "image/svg";
+ if (2 < l && strcasecmp(unix_path + l - 3, "txt") == 0)
+ return "text/plain";
return "text/html";
}
|