Baoyuantop commented on issue #2680: URL: https://github.com/apache/apisix-ingress-controller/issues/2680#issuecomment-3663527864
Do not add APISIX's plugin directory directly to the lua_package_path (i.e., luaPath), as this will disrupt the namespace referenced by the standard library. If users place custom plugins in the standard plugin directory (/usr/local/apisix/apisix/plugins/), APISIX's default path configuration (/usr/local/apisix/?.lua) is sufficient to load them via `require(“apisix.plugins.hello-world”)`. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
