node.js - How do I password protect a subdirectory of a Harp.js app -
how password protect subdirectory in harp site (running under node)?
i want basic auth single folder, not whole site.
if you're using harp through command line, running harp server
can't because it's static file server , can't server-side coding.
you'll have switch express (here's how use basicauth it). can still use harp (as static server, using before) within express (as middleware). or can use express static
Comments
Post a Comment