33 lines
390 B
JSON
33 lines
390 B
JSON
{
|
|
|
|
"methods": [ "GET" ],
|
|
|
|
|
|
"routes": {
|
|
|
|
"/": {
|
|
"methods": ["GET"],
|
|
"controller": "page:home",
|
|
"arguments": {}
|
|
},
|
|
|
|
"/ics/{diplome_id}": {
|
|
"methods": ["GET"],
|
|
"controller": "ics:download",
|
|
"arguments": {
|
|
"diplome_id": "T\\d+"
|
|
}
|
|
},
|
|
|
|
"/{any}": {
|
|
"methods": ["GET"],
|
|
"controller": "redirect:homepage",
|
|
"arguments": {
|
|
"any": ".+"
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|