Skip to content

Commit 6bb97b1

Browse files
committed
fix: change to work with CGILua 6.x
1 parent 20890c4 commit 6bb97b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wsapi/sapi.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ function _M.run(wsapi_env)
4949
end,
5050
},
5151
}
52-
local cgilua = require "cgilua"
53-
cgilua.main()
52+
local cgilua = require "cgilua.main"
53+
cgilua.main(wsapi_env, res)
5454
return res:finish()
5555
end
5656

0 commit comments

Comments
 (0)