this is a upload middleware for lor, it depends on the "uuid" module.
usage example in lor:
localupload_middleware=require("app.middleware.upload")
app:use(upload_middleware({
dir="app/static/avatar" -- static files path
}))There was an error while loading. Please reload this page.