mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Update options to new types.
This commit is contained in:
parent
20cb199cbd
commit
2d08633147
1 changed files with 27 additions and 27 deletions
|
@ -226,7 +226,7 @@ Options
|
||||||
*/
|
*/
|
||||||
"preview-img": {
|
"preview-img": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"types": ["bmp", "gif", "ico", "image", "jpg", "png"]
|
"types": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png"]
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -244,29 +244,29 @@ Options
|
||||||
"preview-txt": {
|
"preview-txt": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"types": {
|
"types": {
|
||||||
"authors": "fixed",
|
"txt": "fixed",
|
||||||
"copying": "fixed",
|
"txt-authors": "fixed",
|
||||||
"c": "c",
|
"txt-license": "fixed",
|
||||||
"cpp": "cpp",
|
"txt-c": "c",
|
||||||
"css": "css",
|
"txt-cpp": "cpp",
|
||||||
"diff": "diff",
|
"txt-css": "css",
|
||||||
"h": "c",
|
"txt-diff": "diff",
|
||||||
"hpp": "cpp",
|
"txt-h": "c",
|
||||||
"install": "fixed",
|
"txt-hpp": "cpp",
|
||||||
"log": "fixed",
|
"txt-install": "fixed",
|
||||||
"java": "java",
|
"txt-log": "fixed",
|
||||||
"js": "js",
|
"txt-java": "java",
|
||||||
"json": "js",
|
"txt-js": "js",
|
||||||
"makefile": "xml",
|
"txt-json": "js",
|
||||||
"markdown": "markdown",
|
"txt-makefile": "xml",
|
||||||
// "php": "php",
|
"txt-md": "markdown",
|
||||||
"python": "python",
|
// "txt-php": "php",
|
||||||
"readme": "fixed",
|
"txt-py": "python",
|
||||||
"rb": "ruby",
|
"txt-readme": "fixed",
|
||||||
"rtf": "fixed",
|
"txt-rb": "ruby",
|
||||||
"script": "shell",
|
"txt-rtf": "fixed",
|
||||||
"text": "fixed",
|
"txt-script": "shell",
|
||||||
"xml": "xml"
|
"txt-xml": "xml"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -336,9 +336,9 @@ Options
|
||||||
*/
|
*/
|
||||||
"thumbnails": {
|
"thumbnails": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"img": ["bmp", "gif", "ico", "image", "jpg", "png"],
|
"img": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png"],
|
||||||
"mov": ["video"],
|
"mov": ["vid"],
|
||||||
"doc": ["pdf", "ps"],
|
"doc": ["x-pdf", "x-ps"],
|
||||||
"delay": 1,
|
"delay": 1,
|
||||||
"size": 96,
|
"size": 96,
|
||||||
"exif": true
|
"exif": true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue