fix: api overrides all in config.routes

This commit is contained in:
xdrm-brackets 2018-02-20 19:42:48 +01:00
parent e685dadd55
commit bd4558d1e4
1 changed files with 8 additions and 8 deletions

View File

@ -6,6 +6,14 @@
"routes": {
"/api/v/1.0/{uri}": {
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"controller": "api:call",
"arguments": {
"uri": ".*"
}
},
"/js/_SERVER.js": {
"methods": ["GET"],
"controller": "js:server",
@ -38,14 +46,6 @@
}
},
"/api/v/1.0/{uri}": {
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
"controller": "api:call",
"arguments": {
"uri": ".*"
}
},
"/{any}": {
"methods": ["GET"],
"controller": "redirect:home",