diff options
Diffstat (limited to 'core/src/dispatcher.lua')
-rw-r--r-- | core/src/dispatcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/dispatcher.lua b/core/src/dispatcher.lua index c60e5dcd1..0a66ccd3a 100644 --- a/core/src/dispatcher.lua +++ b/core/src/dispatcher.lua @@ -104,7 +104,7 @@ function build_url(category, module, action) module = module or "index" action = action or "index" - local pattern = ffluci.http.env.SCRIPT_NAME .. "/%s/%s/%s" + local pattern = ffluci.http.dispatcher() .. "/%s/%s/%s" return pattern:format(category, module, action) end |