Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // start the UI
- var app = express();
- app.use(express.basicAuth('me', 'openforme'));
- app.use(kue.app);
- app.listen(3001);
- // start the UI
- var app = express();
- var basicAuth = require('express-basic-auth');
- app.use(basicAuth({
- users: { 'me': 'openforme' }
- }));
- app.use(kue.app);
- app.listen(3001);
Add Comment
Please, Sign In to add comment