daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data
Top