File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ local Downloads = require 'pegasus.plugins.downloads'
20
20
-- @tparam [opt] table opts.sslparams the tls based parameters, see the Copas documentation.
21
21
-- If not provided, then the connection will be accepted as a plain one.
22
22
-- @tparam [opt] table opts.plugins the plugins to use
23
- -- @tparam [opt] function opts.handler the callback function to handle requests
23
+ -- @tparam [opt] function opts.callback the callback function to handle requests
24
24
-- @tparam [opt] string opts.location the file-path from where to server files
25
25
-- @return the server-socket on success, or nil+err on failure
26
26
local function newPegasusServer (opts )
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ build = {
40
40
[' pegasus.compress' ] = ' src/pegasus/compress.lua' ,
41
41
[' pegasus.plugins.compress' ] = ' src/pegasus/plugins/compress.lua' ,
42
42
[' pegasus.plugins.downloads' ] = ' src/pegasus/plugins/downloads.lua' ,
43
+ [' pegasus.plugins.files' ] = ' src/pegasus/plugins/files.lua' ,
43
44
[' pegasus.plugins.tls' ] = ' src/pegasus/plugins/tls.lua' ,
44
45
}
45
46
}
You can’t perform that action at this time.
0 commit comments