mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
fix yggdrasil host validation
This commit is contained in:
parent
e3f312f6f3
commit
f3896534ae
7 changed files with 28 additions and 29 deletions
|
|
@ -110,7 +110,7 @@ define('COMMENT_MIN_LENGTH', 1);
|
|||
define('COMMENT_MAX_LENGTH', 1000);
|
||||
|
||||
// Yggdrasil
|
||||
define('YGGDRASIL_URL_REGEX', '/^0{0,1}[2-3][a-f0-9]{0,2}:/'); // thanks to @ygguser (https://github.com/YGGverse/YGGo/issues/1#issuecomment-1498182228 )
|
||||
define('YGGDRASIL_HOST_REGEX', '/^0{0,1}[2-3][a-f0-9]{0,2}:/'); // thanks to @ygguser (https://github.com/YGGverse/YGGo/issues/1#issuecomment-1498182228 )
|
||||
|
||||
// Crawler
|
||||
define('CRAWLER_SCRAPE_QUEUE_LIMIT', 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue