Move RPC-bidnings out of the way to prevent the indexer to require them
This commit is contained in:
parent
ee613dd296
commit
cd53740e0f
3 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ function rpc_uci()
|
|||
luci.http.status(404, "Not Found")
|
||||
return nil
|
||||
end
|
||||
local uci = require "luci.controller.rpc.uci"
|
||||
local uci = require "luci.jsonrpcbind.uci"
|
||||
local jsonrpc = require "luci.jsonrpc"
|
||||
local http = require "luci.http"
|
||||
local ltn12 = require "luci.ltn12"
|
||||
|
@ -91,7 +91,7 @@ function rpc_uvl()
|
|||
luci.http.status(404, "Not Found")
|
||||
return nil
|
||||
end
|
||||
local uvl = require "luci.controller.rpc.uvl"
|
||||
local uvl = require "luci.jsonrpcbind.uvl"
|
||||
local jsonrpc = require "luci.jsonrpc"
|
||||
local http = require "luci.http"
|
||||
local ltn12 = require "luci.ltn12"
|
||||
|
|
Loading…
Reference in a new issue