Skip to content

Commit

Permalink
chore(rockspec): add files plugin to rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed May 5, 2023
1 parent bde032c commit 83a3653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/copas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local Downloads = require 'pegasus.plugins.downloads'
-- @tparam[opt] table opts.sslparams the tls based parameters, see the Copas documentation.
-- If not provided, then the connection will be accepted as a plain one.
-- @tparam[opt] table opts.plugins the plugins to use
-- @tparam[opt] function opts.handler the callback function to handle requests
-- @tparam[opt] function opts.callback the callback function to handle requests
-- @tparam[opt] string opts.location the file-path from where to server files
-- @return the server-socket on success, or nil+err on failure
local function newPegasusServer(opts)
Expand Down
1 change: 1 addition & 0 deletions rockspecs/pegasus-dev-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ build = {
['pegasus.compress'] = 'src/pegasus/compress.lua',
['pegasus.plugins.compress'] = 'src/pegasus/plugins/compress.lua',
['pegasus.plugins.downloads'] = 'src/pegasus/plugins/downloads.lua',
['pegasus.plugins.files'] = 'src/pegasus/plugins/files.lua',
['pegasus.plugins.tls'] = 'src/pegasus/plugins/tls.lua',
}
}

0 comments on commit 83a3653

Please sign in to comment.