“。重定向到”快递
". Redirecting to" express
致敬,
我目前很难找到 res.redirect('/index')
渲染的原因:
<p>OK. Redirecting to <a href="/index">/</a></p>
而不是在页面上直接重定向。
我在文件 ./node_modules/express/lib/response.js (ctrl + F ". Redirecting to") 中查找并找到了创建此 HTML 代码的行,但我不明白为什么打印而不是我正在等待的重定向。
this page
上的文档中对此一无所获
如何获得正常的重定向?
致敬,
我目前很难找到 res.redirect('/index')
渲染的原因:
<p>OK. Redirecting to <a href="/index">/</a></p>
而不是在页面上直接重定向。
我在文件 ./node_modules/express/lib/response.js (ctrl + F ". Redirecting to") 中查找并找到了创建此 HTML 代码的行,但我不明白为什么打印而不是我正在等待的重定向。 this page
上的文档中对此一无所获如何获得正常的重定向?