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_r387661302
 
 

 ##########
 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:
   ```
   ./bin/apisix init
   lua: ./bin/apisix:53: invalid escape sequence near '"^\/'
   make: *** [Makefile:77: init] Error 1
   ```

----------------------------------------------------------------
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

Reply via email to