membphis commented on a change in pull request #1201: Adding warning message
when running APISIX in root path
URL: https://github.com/apache/incubator-apisix/pull/1201#discussion_r388000511
##########
File path: bin/apisix
##########
@@ -50,6 +50,12 @@ if script_path:sub(1, 2) == './' then
error("failed to fetch current path")
end
+ is_root_path = string.match(apisix_home, "^\/[root][^\/]+")
Review comment:
# lua -v
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services