Node js redirect 404 or Http to https depending on the case

前端 未结 0 1201
情书的邮戳
情书的邮戳 2021-01-15 13:13

How I can redirect 404 or Http to Http depending on the case? I have this

router.get(\'*\', function(req, res) {     
    res.status(404).render(\'publico\');         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题