mirror of
https://github.com/ivabus/urouter
synced 2024-11-10 02:25:22 +03:00
39 lines
568 B
JSON
39 lines
568 B
JSON
[
|
|
{
|
|
"uri":"/",
|
|
"alias": {
|
|
"url": "https://ivabus.dev"
|
|
}
|
|
},
|
|
{
|
|
"uri":"/",
|
|
"alias": {
|
|
"file": "src/main.rs"
|
|
},
|
|
"agent": {
|
|
"regex": "^curl/[0-9].[0-9].[0-9]$"
|
|
}
|
|
},
|
|
{
|
|
"uri":"text",
|
|
"alias": {
|
|
"html": "sometext"
|
|
},
|
|
"agent": {
|
|
"regex": "^curl/[0-9].[0-9].[0-9]$",
|
|
"only_matching": true
|
|
}
|
|
},
|
|
{
|
|
"uri": "external",
|
|
"alias": {
|
|
"external": {
|
|
"url": "https://iva.bz",
|
|
"headers": {
|
|
"user-agent": "curl/8.6.0"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|