Skip to content

Commit

Permalink
change: simple code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
membphis committed Aug 4, 2019
1 parent 77e5b50 commit ae0bdfb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/apisix/admin/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ local uri_route = {
},
{
path = [[/apisix/admin/{res:routes|services|upstreams|consumers|ssl}]]
.. [[/{id:[\d\w_]+}]],
.. [[/{id}]],
handler = run,
method = {"GET", "PUT", "POST", "DELETE"},
},
{
path = [[/apisix/admin/schema/{res:plugins}/{id:[\d\w-]+}]],
path = [[/apisix/admin/schema/{res:plugins}/{id}]],
handler = run,
method = {"GET", "PUT", "POST", "DELETE"},
},
Expand All @@ -87,7 +87,7 @@ local uri_route = {
},
{
path = [[/apisix/admin/{res:routes|services|upstreams|consumers|ssl}]]
.. [[/{id:[\d\w_]+}/{sub_path:.*}]],
.. [[/{id}/{sub_path:.*}]],
handler = run,
method = {"PATCH"},
},
Expand Down

0 comments on commit ae0bdfb

Please sign in to comment.