Skip to content

lorlabs/upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

upload middleware

this is a upload middleware for lor, it depends on the "uuid" module.

usage example in lor:

local upload_middleware = require("app.middleware.upload")
app:use(upload_middleware({
    dir = "app/static/avatar" -- static files path
}))

Releases

No releases published

Packages

No packages published

Languages