luci-base: load luci preferences early

Follow-up to 315dbfc749

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2026-02-03 22:39:42 +01:00
parent 22c6f45e26
commit cb085c73dd

View File

@@ -7,6 +7,8 @@
const scope = this;
uci.loadPackage('luci').catch();
const callSessionAccess = rpc.declare({
object: 'session',
method: 'access',