mirror of
https://github.com/ivabus/urouter
synced 2024-11-22 00:15:11 +03:00
38 lines
568 B
JSON
38 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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|