From 57ceee13a964ac949717891e13af1990779ad841 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 22 Sep 2015 17:56:48 +0200 Subject: Updated some mimetypes * c++ and cpp now both map to code --- resources/config/mimetypealiases.dist.json | 1 + resources/config/mimetypemapping.dist.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'resources') 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"], -- cgit v1.2.3