Browse Source

fix gitignore

main
ghost 1 year ago
parent
commit
a881791827
  1. 4
      .gitignore
  2. 107
      example/config.json

4
.gitignore vendored

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
/storage/
/vendor/
composer.lock
config.json
/config.json
/composer.lock

107
example/config.json

@ -0,0 +1,107 @@ @@ -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…
Cancel
Save