diff --git a/config/routes.json b/config/routes.json index 43f90d5..f760aa2 100644 --- a/config/routes.json +++ b/config/routes.json @@ -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",