jsDAV allows you to easily add WebDAV support to a NodeJS application. jsDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API.
var webdav = jsDAV.createServer({
node: nodePath,
locksBackend: jsDAV_Locks_Backend_FS.new(locksPath),
authBackend: jsDAV_Auth_Backend_Mongo.new(db, "folderusers"),
realm: "jsdavtest",
mount: "/",
server: server,
plugins: [jsDAV_Auth_Plugin, jsDAV_Browser_Plugin]
});
When I try to use authBackend, stop browser problem after uploading a file.
Is it a problem with the process of authBackend being handled by mongodb in jsDAV's webdav configuration?
var webdav = jsDAV.createServer({ node: nodePath, locksBackend: jsDAV_Locks_Backend_FS.new(locksPath), authBackend: jsDAV_Auth_Backend_Mongo.new(db, "folderusers"), realm: "jsdavtest", mount: "/", server: server, plugins: [jsDAV_Auth_Plugin, jsDAV_Browser_Plugin] }); When I try to use authBackend, stop browser problem after uploading a file. Is it a problem with the process of authBackend being handled by mongodb in jsDAV's webdav configuration?