I would like to have a basic authentication for my frontity site. How can I implement that?
The reason for this is that I will deploy a dev branch of my site soon and this will probably done via ZEIT Now. However, ZEIT now does not support a separate authentication any longer (please correct me if I’m wrong). Even if it’s possible somehow, I would like to protect the site itself.
I guess that I would have to adjust core/server and add a middleware, maybe https://github.com/koajs/basic-auth for koa? Or is there a smarter solution without modifying frontity core for me?