33 lines
437 B
JSON
Executable File
33 lines
437 B
JSON
Executable File
{
|
|
|
|
"methods": [ "GET", "POST", "PUT", "DELETE", "VIEW" ],
|
|
|
|
|
|
"routes": {
|
|
|
|
"/api/v/1.0/{uri}": {
|
|
"methods": ["GET", "POST", "PUT", "DELETE", "VIEW"],
|
|
"controller": "api:call",
|
|
"arguments": {
|
|
"uri": ".*"
|
|
}
|
|
},
|
|
|
|
"/": {
|
|
"methods": ["GET"],
|
|
"controller": "page:load",
|
|
"arguments": {}
|
|
},
|
|
|
|
"/{any}": {
|
|
"methods": ["GET"],
|
|
"controller": "redirect:root",
|
|
"arguments": {
|
|
"any": ".*"
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|