update
Browse files
app.lua
CHANGED
|
@@ -16,7 +16,7 @@ end
|
|
| 16 |
|
| 17 |
ngx.say('uri: ',uri)
|
| 18 |
|
| 19 |
-
local api_version, api_pxoxy_pass_url_indicator =
|
| 20 |
|
| 21 |
-- local version_match = uri:match("([^/]+)/(.+)")
|
| 22 |
-- if version_match then
|
|
|
|
| 16 |
|
| 17 |
ngx.say('uri: ',uri)
|
| 18 |
|
| 19 |
+
local api_version, api_pxoxy_pass_url_indicator = uri:match("/([^/]+)/(.*)")
|
| 20 |
|
| 21 |
-- local version_match = uri:match("([^/]+)/(.+)")
|
| 22 |
-- if version_match then
|