zeke / harp-buildpack

A Heroku buildpack for static sites, powered by Node.js and Harp [Deprecated] See http://harpjs.com/docs/deployment/heroku)
http://harpjs.com/docs/deployment/heroku
35 stars 19 forks source link

Adding basic auth #11

Closed og2t closed 9 years ago

og2t commented 9 years ago

Would it be possible to add a basic web based auth to the buildpack? Thanks!

zeke commented 9 years ago

You can do this pretty easily with Harp itself: http://harpjs.com/docs/development/basicauth

Does that work for you?

og2t commented 9 years ago

Yeah, but since I compile the harp project, basic auth is not supported anymore. Would be nice if buildpack had also supported the _harp.json with auth details. Thanks!

zeke commented 9 years ago

Is it necessary to compile?

og2t commented 9 years ago

Not if Heroku can run harp server :) I didn't realise that was the case, thought Heroku compiled the project and run a static version of it.