app.use(express.basicAuth('username', 'password')); ããã㯠app.use(express.basicAuth(function(user, password) { return user === 'username' && password === 'password'; })); ããããªãä¸ã®ã»ããç°¡åã ãã©ä¸ã®æ¹ãæè»ã ãã¹ã§åããããªã app.all('/hoge/*', express.basicAuth(function(user, password) { return user === 'username' && password === 'password'; })); ã¨ãã è¨å®ã«basicèªè¨¼ãåå¨ãã¦ããã¨ãã ãbasicèªè¨¼ããã¦ãããã«è¤æ°ã¦ã¼ã¶ã¼è¨å®ã§ããããã«ããããã«ãããªæãã«ããã if (c
{{#tags}}- {{label}}
{{/tags}}