diff options
author | Thomas Ebert <thomas.ebert@usability.de> | 2017-08-31 16:20:21 +0200 |
---|---|---|
committer | Thomas Ebert <thomas.ebert@usability.de> | 2017-08-31 16:53:07 +0200 |
commit | 93d539b0cf06249545bed413a71ffb50dfdcfb87 (patch) | |
tree | 38f929b43a73cd1cc468fe0e9889bb4c2ba95f26 /core/js | |
parent | 84ea66dca8593a967d0114a7d0206260263f61f9 (diff) | |
download | nextcloud-server-93d539b0cf06249545bed413a71ffb50dfdcfb87.tar.gz nextcloud-server-93d539b0cf06249545bed413a71ffb50dfdcfb87.zip |
Add mimetype support for .URL (Windows) and .webloc (macOS) files. Update places/link svg. Add filetype/link icon. Add repair step for mime types.
Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/mimetypelist.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index b0104b50bef..ea513131d88 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -4,7 +4,7 @@ * * You can update the list of MimeType Aliases in config/mimetypealiases.json * The list of files is fetched from core/img/filetypes -* To regenerate this file run ./occ maintenance:mimetypesjs +* To regenerate this file run ./occ maintenance:mimetype:update-js */ OC.MimeTypeList={ aliases: { @@ -94,7 +94,8 @@ OC.MimeTypeList={ "text/x-ldif": "text/code", "text/x-python": "text/code", "text/x-shellscript": "text/code", - "web": "text/code" + "web": "text/code", + "application/internet-shortcut": "link" }, files: [ "application", @@ -108,6 +109,7 @@ OC.MimeTypeList={ "folder-shared", "folder-starred", "image", + "link", "location", "package-x-generic", "text", |