Skip to content

Commit 9ff9a33

Browse files
committed
fix: We go again
1 parent 2dd9c0c commit 9ff9a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ postprocess_html = function(html, module)
3535
end
3636

3737
-- Silly hack to allow template file to access import
38-
import("_G").setmetatable(import("_G").debug.getinfo(1, "f"), {__index = function(_, k) if k == "import" then return import end end})
38+
import("_G").setmetatable(import("_G").debug.getfenv(import("_G").debug.getinfo(1, "f")), {__index = function(_, k) if k == "import" then return import end end})

0 commit comments

Comments
 (0)