aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/files.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.http.files: Make into standalone libraryKim Alvefur2019-04-051-64/+14
|
* net.http.files: Copy of mod_http_filesKim Alvefur2019-04-051-0/+198
The intent is to make it easier to reuse and simplify mod_http_files. Currently modules will use the serve() function exported by mod_http_files in order to serve their own files. This makes it unclear whether mod_http_files should be doing anything on its own. Moving the logic into a separate module should help here, as well as make re-use outside of prosody easier.