From bd4558d1e4e1b8fd8c1b1c44edd393653aee4145 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 20 Feb 2018 19:42:48 +0100 Subject: [PATCH] fix: api overrides all in config.routes --- config/routes.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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",