diff options
author | Joas Schilling <coding@schilljs.com> | 2017-02-10 14:25:25 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-02-10 14:25:25 +0100 |
commit | ade91c8fe2e9230dea62cbf47a19cd5907646864 (patch) | |
tree | 2245f2e18b8dbcb18a6356a7c94c35c52f1e642f /resources | |
parent | b4ade766656a2032f33d56eb4a0f17bb128af722 (diff) | |
download | nextcloud-server-ade91c8fe2e9230dea62cbf47a19cd5907646864.tar.gz nextcloud-server-ade91c8fe2e9230dea62cbf47a19cd5907646864.zip |
Recognize .bat and .cmd files
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 99638b6c02d..2b187a6ac85 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -1,7 +1,7 @@ { - "_comment" : "Array mapping file extensions to mimetypes (in alphabetical order]", + "_comment" : "Array mapping file extensions to mimetypes (in alphabetical order)", "_comment2": "The first index in the mime type array is the assumed correct mimetype", - "_comment3": "and the second (if present] is a secure alternative", + "_comment3": "and the second (if present) is a secure alternative", "_comment4": "Any changes you make here will be overwritten on an update of Nextcloud", "_comment5": "Put any custom mappings in a new file mimetypemapping.json in the config/ folder of Nextcloud", @@ -15,6 +15,7 @@ "arw": ["image/x-dcraw"], "avi": ["video/x-msvideo"], "bash": ["text/x-shellscript"], + "bat": ["application/x-msdos-program"], "blend": ["application/x-blender"], "bin": ["application/x-bin"], "bmp": ["image/bmp"], @@ -29,6 +30,7 @@ "cc": ["text/x-c"], "cdr": ["application/coreldraw"], "class": ["application/java"], + "cmd": ["application/cmd"], "cnf": ["text/plain"], "conf": ["text/plain"], "cpp": ["text/x-c++src"], @@ -61,6 +63,7 @@ "h": ["text/x-h"], "hh": ["text/x-h"], "hpp": ["text/x-h"], + "htaccess": ["text/plain"], "html": ["text/html", "text/plain"], "htm": ["text/html", "text/plain"], "ical": ["text/calendar"], |