lapis icon indicating copy to clipboard operation
lapis copied to clipboard

A web framework for Lua and OpenResty written in MoonScript

Results 130 lapis issues
Sort by recently updated
recently updated
newest added

Hi Leafo, Is `content` a reserved method for future? Can I use in my .etlua? ```lua --app.lua app:enable("etlua") app:get("/test", function(self) if self.params.show then self.content = "Hello World" end return {...

When running, luarocks init Checking your Lua installation ... Adding entries to .gitignore ... Preparing ./.luarocks/ ... Wrote .luarocks/config-5.4.lua Preparing ./lua_modules/ ... ./luarocks.bat already exists. Not overwriting it! Warning: No...

This used to work before, but now there is this code: https://github.com/leafo/lapis/blob/v1.14.0/lapis/application.moon#L179-L194 ```moonscript filled_routes = {} each_route @, true, (path, handler) -> route_name, path_string = if type(path) == "table" next(path),...

I am trying to run luarocks.org and when starting I see: ``` sudo lapis serve [sudo] password for teto: nginx: [alert] lua_code_cache is off; this will hurt performance in /home/teto/luarocks-site/nginx.conf.compiled:38...

Hi there, thanks for Lapis. I'm testing it out and it seems really cool. I found this example for generating HTML from within Lua: ```lua local MyApp = lapis.Application() MyApp:match("/",...

Please see here: https://github.com/msys2/MINGW-packages/issues/17041#issuecomment-1528812280 I thought that the problem was with MSYS, but not: I'm on Windows 10 Pro 64 bit, MSYS2/MINGW64, I try to install there lua rocks: luaossl...

https://datatracker.ietf.org/doc/html/rfc5789

**app.lua** ```lua local lapis = require("lapis") local app = lapis.Application() app:enable("etlua") app:match("test", "/test", function(self) self.value_1 = "qwerty" self.context = {value_2 = "asdfgh"} return {render = true} end) return app ```...

Hello @leafo I have a problem here when moving from version 1.10.0 to 1.11.0 this route is giving a 404 error, this did not happen before in other previous versions....