【发布时间】:2013-06-24 00:50:28
【问题描述】:
在 express.js 中,我可以在执行屏蔽时使用res.redirect。
例如,我的应用位于http://example.com。我希望http://example.com/test 重定向到http://google.com,同时将URL 保持为http://example.com/test。
换句话说,用户在 URL == http://example.com/test 时看到了 google 的着陆页。
【问题讨论】:
-
即使在用户进行搜索或点击页面上的链接后,您是否希望 google url 被屏蔽?
-
没有。只有他第一次上车。
标签: node.js express url-masking