mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 15:27:53 +10:00
make plugin config more consistent
This commit is contained in:
@@ -15,11 +15,18 @@
|
||||
"x-aliases": ["SINGLE_FILE_BINARY"],
|
||||
"description": "Path to single-file binary"
|
||||
},
|
||||
"NODE_BINARY": {
|
||||
"SINGLEFILE_NODE_BINARY": {
|
||||
"type": "string",
|
||||
"default": "node",
|
||||
"x-fallback": "NODE_BINARY",
|
||||
"description": "Path to Node.js binary"
|
||||
},
|
||||
"SINGLEFILE_CHROME_BINARY": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"x-fallback": "CHROME_BINARY",
|
||||
"description": "Path to Chrome/Chromium binary"
|
||||
},
|
||||
"SINGLEFILE_TIMEOUT": {
|
||||
"type": "integer",
|
||||
"default": 60,
|
||||
@@ -39,16 +46,25 @@
|
||||
"x-fallback": "COOKIES_FILE",
|
||||
"description": "Path to cookies file"
|
||||
},
|
||||
"SINGLEFILE_CHECK_SSL_VALIDITY": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"x-fallback": "CHECK_SSL_VALIDITY",
|
||||
"description": "Whether to verify SSL certificates"
|
||||
},
|
||||
"SINGLEFILE_ARGS": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"default": [],
|
||||
"default": ["--browser-headless"],
|
||||
"x-aliases": ["SINGLEFILE_DEFAULT_ARGS"],
|
||||
"description": "Default single-file arguments"
|
||||
},
|
||||
"SINGLEFILE_EXTRA_ARGS": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Extra arguments for single-file"
|
||||
"SINGLEFILE_ARGS_EXTRA": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"default": [],
|
||||
"x-aliases": ["SINGLEFILE_EXTRA_ARGS"],
|
||||
"description": "Extra arguments to append to single-file command"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user