mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-25 17:08:23 +01:00
fix: user correct path to find module
All checks were successful
gitea-sync/antd-lua-plugin/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-lua-plugin/pipeline/head This commit looks good
This commit is contained in:
parent
b0812d1e14
commit
1ed346bcfc
@ -242,7 +242,7 @@ end
|
||||
-- run the file
|
||||
|
||||
|
||||
local m, s, p = has_module(HTTP_REQUEST.request.RESOURCE_PATH)
|
||||
local m, s, p = has_module(HTTP_REQUEST.request.REQUEST_URI)
|
||||
if m then
|
||||
-- run the correct module
|
||||
if s then
|
||||
@ -253,7 +253,7 @@ if m then
|
||||
require(p)
|
||||
end
|
||||
else
|
||||
unknow("Resource not found for request "..HTTP_REQUEST.request.RESOURCE_PATH)
|
||||
unknow("Resource not found for request "..HTTP_REQUEST.request.REQUEST_URI)
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user