app.post('/index', cb = function(req, res){ res.redirect('http://www.baidu.com'); });
post无法重定向,我改如何在post中重定向一个页面呢?
回复 (0)
暂无回复,成为第一个参与讨论的人。
参与回复
登录后即可参与回复。登录
app.post('/index', cb = function(req, res){ res.redirect('http://www.baidu.com'); });
post无法重定向,我改如何在post中重定向一个页面呢?