mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 04:41:46 +03:00
16fbfa58ff
This allows easier reuse of the copy functionality without affecting CLI commands. Closes #1071
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"replacementPatterns": [
|
|
{
|
|
"__comment__": "See https://github.com/tcort/markdown-link-check/issues/264",
|
|
"pattern": "%23",
|
|
"replacement": ""
|
|
}
|
|
],
|
|
"timeout": "2s",
|
|
"retryOn429": true,
|
|
"ignorePatterns": [
|
|
{
|
|
"pattern": "^http://127.0.0.1"
|
|
},
|
|
{
|
|
"pattern": "^http://localhost"
|
|
},
|
|
{
|
|
"pattern": "^https://ghcr.io/maplibre/martin($|/|\\?)"
|
|
},
|
|
{
|
|
"pattern": "^http://opensource.org"
|
|
}
|
|
],
|
|
"httpHeaders": [
|
|
{
|
|
"urls": [
|
|
"https://crates.io",
|
|
"https://ghcr.io",
|
|
"https://github.com"
|
|
],
|
|
"headers": {
|
|
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0",
|
|
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
|
"Accept-Encoding": "zstd, br, gzip, deflate",
|
|
"Accept-Language": "en"
|
|
}
|
|
}
|
|
]
|
|
}
|