mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 15:27:53 +10:00
improve plugin tests and config
This commit is contained in:
21
archivebox/plugins/headers/config.json
Normal file
21
archivebox/plugins/headers/config.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required_plugins": ["chrome"],
|
||||
"properties": {
|
||||
"HEADERS_ENABLED": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"x-aliases": ["SAVE_HEADERS", "USE_HEADERS"],
|
||||
"description": "Enable HTTP headers capture"
|
||||
},
|
||||
"HEADERS_TIMEOUT": {
|
||||
"type": "integer",
|
||||
"default": 30,
|
||||
"minimum": 5,
|
||||
"x-fallback": "TIMEOUT",
|
||||
"description": "Timeout for headers capture in seconds"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user