阅读背景:

使用express提供静态文件时无法使用基本身份验证

来源:互联网 

Using the Express framework for node.js, I'm trying to serve up static files contained in a directory while also putting basic authentication on it. When I do so, I am prompted for the username and password (as expected), but after I correctly enter them, I'm given a 404. If I remove the authentication check and serve up the same directory, I actually get the pages contained within it.Using the Express framework for node.js, I'm tr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: