aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-09-22 17:56:48 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-10-02 15:28:23 +0200
commit57ceee13a964ac949717891e13af1990779ad841 (patch)
treeec8428c1713e90c9686234b0f6b5c7ae410f24f6 /resources
parentaeb20675dd9679331b0de8f7ebf72ed0b0815742 (diff)
downloadnextcloud-server-57ceee13a964ac949717891e13af1990779ad841.tar.gz
nextcloud-server-57ceee13a964ac949717891e13af1990779ad841.zip
Updated some mimetypes
* c++ and cpp now both map to code
Diffstat (limited to 'resources')
-rw-r--r--resources/config/mimetypealiases.dist.json1
-rw-r--r--resources/config/mimetypemapping.dist.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json
index d0019c4f0a7..ed471f228e2 100644
--- a/resources/config/mimetypealiases.dist.json
+++ b/resources/config/mimetypealiases.dist.json
@@ -74,6 +74,7 @@
"text/csv": "x-office/spreadsheet",
"text/html": "text/code",
"text/x-c": "text/code",
+ "text/x-c++src": "text/code",
"text/x-h": "text/code",
"text/x-java-source": "text/code",
"text/x-python": "text/code",
diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json
index e7c08871817..e26ec7038b1 100644
--- a/resources/config/mimetypemapping.dist.json
+++ b/resources/config/mimetypemapping.dist.json
@@ -36,7 +36,7 @@
"csv": ["text/csv"],
"cvbdl": ["application/x-cbr"],
"c": ["text/x-c"],
- "c++": ["text/x-c"],
+ "c++": ["text/x-c++src"],
"dcr": ["image/x-dcraw"],
"deb": ["application/x-deb"],
"dng": ["image/x-dcraw"],