mirror of
https://github.com/YGGverse/Yo.git
synced 2026-04-01 02:05:29 +00:00
add stripos url rules for crawl snaps
This commit is contained in:
parent
0e06ff3c0f
commit
35ad144a9e
2 changed files with 96 additions and 32 deletions
|
|
@ -192,24 +192,34 @@
|
|||
"directory":"storage/tmp/snap"
|
||||
},
|
||||
"local":{
|
||||
"enabled":true,
|
||||
"enabled":false,
|
||||
"directory":"storage/snap",
|
||||
"size":
|
||||
{
|
||||
"max":10000024
|
||||
},
|
||||
"mime":
|
||||
[
|
||||
"application/xhtml+xml",
|
||||
"application/javascript",
|
||||
"text/html",
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"image/webp",
|
||||
"image/png",
|
||||
"image/gif",
|
||||
"image/ico"
|
||||
]
|
||||
{
|
||||
"stripos":
|
||||
[
|
||||
"application/xhtml+xml",
|
||||
"application/javascript",
|
||||
"text/html",
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"image/webp",
|
||||
"image/png",
|
||||
"image/gif",
|
||||
"image/ico"
|
||||
]
|
||||
},
|
||||
"url":
|
||||
{
|
||||
"stripos":
|
||||
[
|
||||
"http"
|
||||
]
|
||||
}
|
||||
},
|
||||
"remote":
|
||||
{
|
||||
|
|
@ -237,17 +247,27 @@
|
|||
"max":10000024
|
||||
},
|
||||
"mime":
|
||||
[
|
||||
"application/xhtml+xml",
|
||||
"application/javascript",
|
||||
"text/html",
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"image/webp",
|
||||
"image/png",
|
||||
"image/gif",
|
||||
"image/ico"
|
||||
]
|
||||
{
|
||||
"stripos":
|
||||
[
|
||||
"application/xhtml+xml",
|
||||
"application/javascript",
|
||||
"text/html",
|
||||
"text/plain",
|
||||
"text/css",
|
||||
"image/webp",
|
||||
"image/png",
|
||||
"image/gif",
|
||||
"image/ico"
|
||||
]
|
||||
},
|
||||
"url":
|
||||
{
|
||||
"stripos":
|
||||
[
|
||||
"http"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue