mirror of
https://github.com/YGGverse/web-api.git
synced 2026-03-31 17:45:30 +00:00
implement node settings
This commit is contained in:
parent
6bc9b53d24
commit
7e3f7c6df0
6 changed files with 232 additions and 12 deletions
86
config.json
Normal file
86
config.json
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
"net":
|
||||
{
|
||||
"dig":
|
||||
{
|
||||
"response":
|
||||
{
|
||||
"headers":
|
||||
{
|
||||
"Access-Control-Allow-Origin":"*"
|
||||
}
|
||||
},
|
||||
"request":
|
||||
{
|
||||
"name":{
|
||||
"regex":
|
||||
[
|
||||
"/\\.ygg$/i",
|
||||
"/\\.btn$/i",
|
||||
"/\\.anon$/i",
|
||||
"/\\.conf$/i",
|
||||
"/\\.index$/i",
|
||||
"/\\.index$/i",
|
||||
"/\\.merch$/i",
|
||||
"/\\.mirror$/i",
|
||||
"/\\.mob$/i",
|
||||
"/\\.screen$/i",
|
||||
"/\\.srv$/i"
|
||||
]
|
||||
},
|
||||
"record":{
|
||||
"regex":
|
||||
[
|
||||
"/^A$/i",
|
||||
"/^AAAA$/i",
|
||||
"/^SRV$/i"
|
||||
]
|
||||
},
|
||||
"records":{
|
||||
"regex":
|
||||
[
|
||||
"/^A$/i",
|
||||
"/^AAAA$/i",
|
||||
"/^SRV$/i"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"socket":
|
||||
{
|
||||
"response":
|
||||
{
|
||||
"headers":
|
||||
{
|
||||
"Access-Control-Allow-Origin":"*"
|
||||
}
|
||||
},
|
||||
"request":
|
||||
{
|
||||
"port":{
|
||||
"regex":
|
||||
[
|
||||
"/^[\\d]{2,6}$/"
|
||||
]
|
||||
},
|
||||
"host":{
|
||||
"regex":
|
||||
[
|
||||
"/^0{0,1}[2-3][a-f0-9]{0,2}:/",
|
||||
"/\\.ygg$/i",
|
||||
"/\\.btn$/i",
|
||||
"/\\.anon$/i",
|
||||
"/\\.conf$/i",
|
||||
"/\\.index$/i",
|
||||
"/\\.index$/i",
|
||||
"/\\.merch$/i",
|
||||
"/\\.mirror$/i",
|
||||
"/\\.mob$/i",
|
||||
"/\\.screen$/i",
|
||||
"/\\.srv$/i"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue