prod-releaser.php/config/routes.json

33 lines
443 B
JSON
Raw Permalink Normal View History

{
"methods": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ],
"routes": {
"/api/v/1.0/{uri}": {
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"controller": "api:call",
"arguments": {
"uri": ".*"
}
},
"/": {
"methods": ["GET"],
"controller": "page:load",
"arguments": {}
},
"/{any}": {
"methods": ["GET"],
"controller": "redirect:root",
"arguments": {
"any": ".*"
}
}
}
}