保护 Kue
Through the use of app mounting you may customize the web application, enabling TLS, or adding additional middleware like Connect's basicAuth()
.
var app = express.createServer({ ... tls options ... });
app.use(express.basicAuth('foo', 'bar'));
app.use(kue.app);
app.listen(3000);