Guest User

Untitled

a guest
Feb 13th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. // start the UI
  2. var app = express();
  3. app.use(express.basicAuth('me', 'openforme'));
  4. app.use(kue.app);
  5. app.listen(3001);
  6.  
  7. // start the UI
  8. var app = express();
  9. var basicAuth = require('express-basic-auth');
  10. app.use(basicAuth({
  11. users: { 'me': 'openforme' }
  12. }));
  13. app.use(kue.app);
  14. app.listen(3001);
Add Comment
Please, Sign In to add comment