mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-05 11:24:20 +00:00
fix gitignore
This commit is contained in:
parent
72f2fdaeca
commit
a881791827
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
/storage/
|
/storage/
|
||||||
/vendor/
|
/vendor/
|
||||||
composer.lock
|
/config.json
|
||||||
config.json
|
/composer.lock
|
107
example/config.json
Normal file
107
example/config.json
Normal file
@ -0,0 +1,107 @@
|
|||||||
|
{
|
||||||
|
"manticore":
|
||||||
|
{
|
||||||
|
"server":
|
||||||
|
{
|
||||||
|
"host":"127.0.0.1",
|
||||||
|
"port":9308
|
||||||
|
},
|
||||||
|
"index":
|
||||||
|
{
|
||||||
|
"document":"yo_document"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"webui":
|
||||||
|
{
|
||||||
|
"url":
|
||||||
|
{
|
||||||
|
"base":"http://127.0.0.1:8888"
|
||||||
|
},
|
||||||
|
"pagination":
|
||||||
|
{
|
||||||
|
"limit":20
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cli":
|
||||||
|
{
|
||||||
|
"document":
|
||||||
|
{
|
||||||
|
"crawl":
|
||||||
|
{
|
||||||
|
"queue":
|
||||||
|
{
|
||||||
|
"limit":1,
|
||||||
|
"delay":1
|
||||||
|
},
|
||||||
|
"selector":
|
||||||
|
{
|
||||||
|
"a:not([rel=nofollow])":
|
||||||
|
{
|
||||||
|
"attribute":"href",
|
||||||
|
"external":false,
|
||||||
|
"regex":"/.*/ui"
|
||||||
|
},
|
||||||
|
"image":
|
||||||
|
{
|
||||||
|
"attribute":"src",
|
||||||
|
"external":true,
|
||||||
|
"regex":"/.*/ui"
|
||||||
|
},
|
||||||
|
"audio":
|
||||||
|
{
|
||||||
|
"attribute":"src",
|
||||||
|
"external":false,
|
||||||
|
"regex":"/.*/ui"
|
||||||
|
},
|
||||||
|
"video":
|
||||||
|
{
|
||||||
|
"attribute":"src",
|
||||||
|
"external":false,
|
||||||
|
"regex":"/.*/ui"
|
||||||
|
},
|
||||||
|
"script":
|
||||||
|
{
|
||||||
|
"attribute":"href",
|
||||||
|
"external":false,
|
||||||
|
"regex":"/.*/ui"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"snap":
|
||||||
|
{
|
||||||
|
"enabled":true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"snap":
|
||||||
|
{
|
||||||
|
"storage":
|
||||||
|
{
|
||||||
|
"local":{
|
||||||
|
"enabled":true,
|
||||||
|
"directory":"storage/snap",
|
||||||
|
"size":
|
||||||
|
{
|
||||||
|
"max":100024
|
||||||
|
},
|
||||||
|
"mime":
|
||||||
|
[
|
||||||
|
"application/xhtml+xml",
|
||||||
|
"application/javascript",
|
||||||
|
"text/html",
|
||||||
|
"text/plain",
|
||||||
|
"text/css",
|
||||||
|
"image/webp",
|
||||||
|
"image/png",
|
||||||
|
"image/gif",
|
||||||
|
"image/ico"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mirror":
|
||||||
|
{
|
||||||
|
"enabled":false,
|
||||||
|
"ftp":[]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user