8000 GitHub - js571/qn-ueditor: express ueditor七牛上传中间件
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

js571/qn-ueditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qn-ueditor

express ueditor七牛上传中间件

useage:

var qnUeditor = require('qn-ueditor');

qnUeditor.create({
    accessKey: config.accessKey,
    secretKey: config.secretKey,
    bucket: config.bucket,
    origin: config.origin
});

app.use("/vendor/ueditor/ue", qnUeditor.ueditor(function(req, res, next) {
    if (req.query.action === 'config') {
        res.setHeader('Content-Type', 'application/json');
        res.redirect('/vendor/ueditor-bower/ueditor.config.json')
    }
}));

About

express ueditor七牛上传中间件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0